bass_GetDeviceDescription ?

Started by fredvs,

fredvs

function bass_GetDeviceDescription(devnum: DWORD): PChar; stdcall; external 'bass.dll' name 'BASS_GetDeviceDescription'


The return is a text with the description of the device in the instaled language.
But i dont find anything about the kind of device, ??? for example LINE IN in french is LIGNE EN ENTREE. Then how can i know the type of instaled device, where is mic in cheneese ?
Must i have a speller instaled in the software to assign and know the kind of device? :idea:

Olego

:laugh:

int main()
{
...
newString = BASS_LanguageTranslate("Spanish", "French", "¡Hola! ¿Como estas?");
...
}

 8)

~Olego~

MB_SOFT

A device is an audio card...so you can only retrieve the audio card name.....
If you need to know the input channels name ...use BASS_RecordGetInputName(number).

fredvs

Hello Folk
How can i know if a device is a sound card ?
I have 2 installed sound-cards and the description is

device 0 = SB Audigy
device 1= DirectX (?????)
device 2 = AC 97 Audio card

Chris

#4
device 0 = Active Soundcard ;
device 1 = SB Audigy
device 2 = Ac 97

If you look in your windows systemconfig under Speaker
you will see the same...
There you can  set the aktive soundcard.....

Chris

PS

Fred do you have get my second mail ? (With the modified wav-unit??)

fredvs

Hello, i receive your mail, sorry for the late response.
To say the truth, i developp a sound program and now i forget the wav, i only use the mp3.
But thanks a lot for the job.

fredvs

Hello Chris, you said :

///////////////////
device 0 = Active Soundcard ;
device 1 = SB Audigy
device 2 = Ac 97

If you look in your windows systemconfig under Speaker
you will see the same...
There you can  set the aktive soundcard.....
/////////////////////////////

Alright, but bass find a device named device 1 = DirectX, is that realy a device ? A device is hardware, no ?