I can not get Device name. if i set NULL (for example alcOpenDevice(NULL);)
This function return NULL. What i must doing?
How get name of device in OpenAL?
Started by lestat, Mar 25 2005 06:07 AM
2 replies to this topic
#1
Posted 25 March 2005 - 06:07 AM
#2
Posted 25 March 2005 - 02:05 PM
Do you have DX or another audio subsystem installed? Have a look over this:
http://opensource.creative.com/pipermail/o...ril/002043.html
http://opensource.creative.com/pipermail/o...ril/002043.html
#3
Posted 16 May 2005 - 07:11 PM
When trying to determine the device to use when initializing OpenAL you can use the following:
I hope that is of some help.
You can also enumerate the devices available and then store then in an array so that you can use some of the other "non-default" devices.
char* DefaultDevice = (char*)alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER); alcOpenDevice((ALubyte*)DefaultDevice); ...
I hope that is of some help.
You can also enumerate the devices available and then store then in an array so that you can use some of the other "non-default" devices.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











