ClanLib

Using sound - samples and music

ClanSound provides you with easy-to-use and powerful sound functionality.

Sound overview

To play sound in ClanLib, you have to initialize CL_SetupSound and also create a CL_SoundOutput. CL_SoundOutput is the interface to a sound output device, which is used to control the main mixer volume and other global settings. It is used as a singleton.