[ANN] ALmixer: A library built on top of OpenAL to make playing sounds and streams easier

Eric Wing <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
I announced this on the SDL mailing list a few days ago and forgot
that people here might be interested too.

I am announcing the first public release of ALmixer (v. 0.1.0)

ALmixer is a cross-platform audio library built on top of OpenAL to make
playing and managing sounds easier.

ALmixer provides a simple API inspired by SDL_mixer to make playing
sounds easy with having to worry about directly dealing with OpenAL
sources, buffers, and buffer queuing directly.

ALmixer currently utilizes SDL_sound behind the scenes to decode
various audio formats such as WAV, MP3, AAC, MP4, OGG, FLAC, etc.


This library is targeted towards two major groups:

- People who just want an easy, high performance, way to play audio
(don't care if its OpenAL or not)

- People who want to an easy way to play audio in OpenAL but still
want access to OpenAL directly for effects.

Here's a code excerpt which hopefully conveys what the library is trying to do:

ALmixer_Data* background_music =
ALmixer_LoadStream("background_music.mp3", ALMIXER_DEFAULT_BUFFERSIZE,
ALMIXER_DEFAULT_QUEUE_BUFFERS, ALMIXER_DEFAULT_STARTUP_BUFFERS,
AL_FALSE);

ALmixer_Data* laser_blast = ALmixer_LoadAll("laser_blast.ogg", AL_FALSE);

// Fetches any available al source (param=0) and plays music, looping
infinitely (param=-1)
ALuint background_music_source = ALmixer_PlaySource(0, background_music, -1);

// Plays the laser blast on any available al source
ALuint laser_blast_source = ALmixer_PlaySource(0, laser_blast, 0);


ALmixer is under the LGPL license.

I have setup a website containing more information, Doxygen
documentation, and a link to the Mercurial repository. Go here to
learn more:
http://playcontrol.net/opensource/ALmixer

Thanks,
Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.