Help for BASS_init....

Started by fredvs,

fredvs

Hello folks.
I im back with my multipe soundcards again.
How do you assign that or that soundcard.
In function bass_Init(device: Integer; freq, flags: DWORD; win: HWND): BOOL; stdcall; external 'bass.dll' name 'BASS_Init';

Where  device : Device to use (0=first, -1=default, -2=no sound).

-First question : If i try to change the devices, (i thought :
0=first card,
1=second card,
2=third card,...)
It does not work, if i change for 0, 1 or 3, it gives me alway the same device while playing...

-Second question : If i use 2 devices, whats about CD init ???, is it possible that the 2 sound cards listen both to the CD ?



Irrational86

Quote0=first card,
1=second card,
2=third card,...)
-1 is the default sound card selected in windows, 0 will always be the same thing as -1, the default sound card. Then 1 is the first card, 2 is the second and so on..

Quote-Second question : If i use 2 devices, whats about CD init ???, is it possible that the 2 sound cards listen both to the CD ?
At the time BASS allows only one CD to be played at a time, no matter how many sound cards and no matter how many CD-Roms, of course using more than one instance of BASS will allow you to play various CD Roms at once..

fredvs

Hello BigJ

The problem is that Bass considers DirectX like a device, then device 0 is for primary SB Audigy, 1 for Direct X, and 2 for the AC97 second sound card.

Thanks but in the BASS_info proc, i recieve a text return, in the installed language of the sound cards.
Now, it depends of the language, for example LINE IN in french is LIGNE d ENTREE. Then how can i find the mic or line in a cheneese installed sound-card ? Why dont give bass Info with code of type of channel ?