DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Programming & Development > Sound and Music Programming
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-24-2005, 11:07 PM   #1
lestat
New Member
 
Join Date: Feb 2005
Posts: 6
Default

I can not get Device name. if i set NULL (for example alcOpenDevice(NULL)
This function return NULL. What i must doing?
lestat is offline   Reply With Quote
Old 03-25-2005, 07:05 AM   #2
Ed Mack
DevMaster Staff
 
Join Date: Jul 2003
Location: Northern Ireland
Posts: 1,250
Default

Do you have DX or another audio subsystem installed? Have a look over this:

http://opensource.creative.com/pipermail/o...ril/002043.html
Ed Mack is offline   Reply With Quote
Old 05-16-2005, 01:11 PM   #3
Drakan21
New Member
 
Join Date: May 2005
Posts: 1
Default

When trying to determine the device to use when initializing OpenAL you can use the following:

Code:
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.
Drakan21 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 06:47 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.