[Openal] Detecting sound cards
Jeremy Henry
jeremy_h at hotmail.com
Wed Oct 11 14:53:18 PDT 2006
I need to detect the attributes of the user's sound card or specifically the
number of channels the sound card has. Right now I am using a hard coded 32
channel limit on sounds but we want to be able to detect the limit instead.
Is this supported? In the programmer's guide it looks like I am supposed to
use alcGetString to get the device's name but I am not sure how to use it.
For the first parameter should I pass it an ALC device (or array of them) I
declare to access the parameters of each device? Can I pass
ALC_DEFAULT_DEVICE_SPECIFIER to get my default sound card to get that
information if this is the correct function?
Thanks,
Jeremy
More information about the Openal
mailing list