[Openal] Using more than soundcard (w/o own DLL) at the same time

Fabian Wickborn fabian at wickborn.net
Fri Aug 24 10:06:55 PDT 2007


Hi all,

I'm building an application which wants to make use of multiple sound card.
Although current development is done under (and for) Windows I am going to
migrate the target platform to Linux someday in the future. Therefore I am
using OpenAL.

My current development box has two soundcards. The first one ("SigmaTel
Audio") is integrated into the motherboard. The second card (a "Terratec
Aureon 7.1 PCI") is installed (as you may have guessed) in a dedicated
PCI-slot.

While I have some experience with OpenAL in a "Single-Soundcard Environment"
I was (naively?) assuming I could use both soundcards as a individual device
each. Unfortunately, when enumerating the devices with 

alcGetString(NULL, ALC_DEVICE_SPECIFIER)

and iterating over the returning string, I just get "Generic Hardware" and
"Generic Software" like I would have got in the setup with just one
soundcard. I understand that "Generic Hardware" is a wrapper for
DirectSound3D and "Generic Software" is a wrapper for DirectSound, and both
implementations make use of the device I set as the default audio device in
Windows' "System Settings\Sound and Audio Settings".

Since neither of my two cards implements OpenAL by itself (at least not that
I know of), I suspect it is not possible to separate between to
DS3D-compatible cards with OpenAL, is it?

Is it possible to use both of these sound cards at the same time at all? Or
do I have to fall back to a (non-preferred, believe me ;-) )
DirectSound-based implementation of my application? If so, how is the
situation with Linux? Will I be able to use OpenAL there like described
above?

Thanks for your time and your help!

Fabian


-- 
View this message in context: http://www.nabble.com/Using-more-than-soundcard-%28w-o-own-DLL%29-at-the-same-time-tf4324310.html#a12314913
Sent from the OpenAL - User mailing list archive at Nabble.com.



More information about the Openal mailing list