Reference Manual - 0.9.25
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. Before starting a playback with Play() the application can adjust the pan value with SetPan() and set the FSPLAY_PAN playback flag. To start the looping playback use FSPLAY_LOOPING. 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.
Access Lock Lock a buffer to access its data.
Unlock Unlock a buffer.
Simple playback SetPan Set panning value.
Play Start playing the buffer.
Stop Stop looping playback.
Advanced playback CreatePlayback Retrieve advanced playback control interface.