[SDL] Audio in game

Kuon - Nicolas Goy - 時期精霊 (Goyman.com SA) - 675 kuon at goyman.com
Wed Apr 18 16:03:03 PDT 2007


Hello,

I use SDL as main lib for my game.

When it came to graphics, I immediately came to OpenGL (as I have a  
vast experience of it, and I love it and, and, I married it:P)

But, for audio, I lack experience. Actually, I never player a sound  
in a programme I made myself (except if terminal beep count).

So, I read a lot of discussions here and there, and I was able to  
grab the following info, only problem, I have no idea if anything of  
this is true:
- OpenAL is bad because totally broken on MacOS X (osx is my primary  
OS, but it should work on win, osx and linux)
- SDL audio support sucks (not my words, I have NO idea)
- Core-Audio on macosx is nice, very powerful, but super hard to  
code, and this is no go because I want a portable solution.

So, as you can see, even after quite some time trying to find a piece  
of info, I found nothing worth it.

Basically, my needs are a 3d audio library. I want to input where the  
sound is, the sound parameters (pitch, gain...) and call play.

Best regards

--
Kuon

"Your computer requests another OS, deny or allow?"
"You should stop playing with that, or it will eventually works."

Company website:
http://www.goyman.com/

Personal blog:
http://arkhi.goyman.com/blojsom/blog/default/






More information about the SDL mailing list