Reference Manual - 1.1.1
FusionSound Interfaces   IFusionSound

IFusionSound is the main FusionSound interface. It can be retrieved either by calling IDirectFB::GetInterface() or by calling FusionSoundCreate() (after FusionSoundInit()).

Static sound buffers for smaller samples like sound effects in games or audible feedback in user interfaces are created by calling CreateBuffer(). They can be played several times with an unlimited number of concurrent playbacks. Playback can be started in looping mode. Other per-playback control includes pan value, volume level and pitch.

Streaming sound buffers for large or compressed files and for streaming of real time sound data are created by calling CreateStream(). There's only one single playback that automatically starts when data is written to the ring buffer for the first time. If the buffer underruns, the playback automatically stops and continues when the ring buffer is written to again.

Methods of IFusionSound
Information GetDeviceDescription Get a description of the sound device.
Buffers CreateBuffer Create a static sound buffer.
CreateStream Create a streaming sound buffer.
CreateMusicProvider Create a music provider.
Volume Control GetMasterVolume Get master volume level.
SetMasterVolume Set master volume level.
GetLocalVolume Get local volume level.
SetLocalVolume Set local volume level.
Misc Suspend Suspend FusionSound.
Resume Resume FusionSound.