Reference Manual - 1.0.0-rc1
FusionSound Interfaces   IFusionSoundBuffer

IFusionSoundBuffer represents a static block of sample data.

Data access is simply provided by Lock() and Unlock().

There are two ways of playback.

Simple playback is provided by this interface. It includes an unlimited number of non-looping playbacks plus one looping playback at a time. To start the looping playback with Play() use the FSPLAY_LOOPING playback flag. It will stop when the interface is destroyed or Stop() is called.

Advanced playback is provided by an extra interface called IFusionSoundPlayback which is created by CreatePlayback(). It includes live control over pan, volume, pitch and provides versatile playback commands.

Methods of IFusionSoundBuffer
Information GetDescription Get a description of the buffer.
Positioning SetPosition Set the buffer position indicator.
Access Lock Lock a buffer to access its data.
Unlock Unlock a buffer.
Simple playback Play Start playing the buffer.
Stop Stop looping playback.
Advanced playback CreatePlayback Retrieve advanced playback control interface.