(OSARE) Audio problem
Anonymous
Wednesday, July 28, 2010 - 01:09
Not very sure whether this is the right place to report this issue or not (I can not find bug report in google code project or similar place to give feedback.)
After compiling the source according to the README (`g++ -I /usr/include/SDL *.cpp -o rpgdemo -lSDL -lSDL_image -lSDL_mixer` by removing SDLMain.* to other folder) and placing rpgdemo to resource folder. The execution of binary file throws
Unable to OpenAudio: No available audio device
message.
Looks like it can not use the audio device.
Is there any chance I can disable this or how to fix it to get rpgdemo work?
Thanks for help.
Do you have other kinds of audio problems? Try turning off all other programs that can use audio and only running rpgdemo.
Original poster,
I'm not well versed in audio problems but maybe we can figure it out together. What operating system and version are you on?
Can you try running another SDL game to see if audio works for it?
When I google search for the phrase "no available audio device" I see a lot of results. It might depend on what kind of sound setup you have (e.g. OSS or ALSA) and whether those are up to date. I really don't know anything about linux sound systems, unfortunately.
Currently I don't have OSARE's sound system well separated; as you see, if the sound doesn't work it quits. I can handle that better and let the game run without sound. I'll try to add this to a not-so-future update.