RaydiumWikiNi

ApiSoundAndMusicIntro

PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes ec2-3-144-249-63.us-east-2.compute.amazonaws.com

26.1 Introduction to sound.c


The Raydium sound API is pretty easy to use and there's only need to use a few functions to make your program ouput sounds or music.

On top of this, there are a bunch of functions to modify the sound behavior.

Raydium uses OpenAL and OggVorbis? for its sounds and musics, for a basic use of our sound API you only need to know one thing: OpenAL uses buffers for its sounds and you need to be able to address the sounds separately. For this we use ALuint in our code. Each buffer is associated to a source, we have an array of all available sources and then, you only need to have a simple int that acts as an index in this array.



Return to RaydiumApiReference index.