Advertisement

Do OpenAL and SDL_Mixer play nice together?

Started by January 27, 2005 05:39 PM
0 comments, last by leiavoia 19 years, 10 months ago
Short: Read title and answer if you know. :) Long: I am starting a new project in which it will be important to have 3D Positional sound, so I immediately turned to OpenAL. However I have run into the problem of the beta implementation of ogg playback being completely unstable (crashes my computer, and the ALTest program refuses to playback the ogg option in anything other then DirectSound and MMSYSTEM, so rear speakers are not used). Since it is important to also have music I have considered using OpenAL for 3D Sound along with SDL_Mixer for ogg playback. Does this work or do the two sound libraries get into fights? BTW: I am aware FMOD supports all my needs in one package, however I am a fan of Open Source and would prefer not to use FMOD for that reason. That and the fact that I might want to sell this some day, and would like to avoid alicensing fee :)
http://www.goosey.orgAIM: DarkGoosey ICQ: 14128911 MSN: DarkGoosey@hotmail.com Email: Goosey@gmail.com
If you really plan to sell it on the small-potatoes market, FMOD allows devs to license the lib on a "budget" low-volume license for $100. That is not unreasonable IMHO.

I am using SDL_mixer for my project but i might jump ship for FMOD soon (it does more). I strongly doubt AL and _mixer would play together at all. They need to be able to mix the channels together and cannot do that if they have no knowledge of each other. The only way it would work is if you had one of those soundcards that supports multiple incoming sources and mixes them in hardware (mine doesn't - only one app at a time)

This topic is closed to new replies.

Advertisement