Sign in to follow this  
BloodLust666

OpenAL or SDL sound?

Recommended Posts

BloodLust666    104
I'm switching completely from DirectX to SDL and OGL. I know exactly what i'm going to use for each one except for the sound portion... they both seem pretty good, but what's everyone else's opinion?

Share this post


Link to post
Share on other sites
swiftcoder    18426
Quote:
Original post by EvilKnuckles666
I'm switching completely from DirectX to SDL and OGL. I know exactly what i'm going to use for each one except for the sound portion... they both seem pretty good, but what's everyone else's opinion?


SDL_sound actually provides very little facility for playing sound, it is primarily a sound file loader, look at SDL_mixer to actually play in-game sound (you can use SDL's own sound system to play the sound, which is what SDL_mixer does, but it is a very low level API with no support for directional sound).
I would lean towards OpenAL, and use an API such as SDL_sound to load the files (OpenAL typically only loads .WAVs), as OpenAL has many more features than SDL_Mixer

Share this post


Link to post
Share on other sites
BloodLust666    104
wow, i just looked at FMOD and it has a very pleasing argument. Is there anywhere that there is a sample for using FMOD or a tutorial?

edit: i'm using C++ so tutorials for that would help best :-p

Share this post


Link to post
Share on other sites
swiftcoder    18426
Quote:
Original post by EvilKnuckles666
wow, i just looked at FMOD and it has a very pleasing argument. Is there anywhere that there is a sample for using FMOD or a tutorial?


FMOD is very impressive, and works very well, but it has one major drawback: expense, FMOD is not free, and licenses are not cheap (at least from an small indie point of view).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this