Home | All Classes | Grouped Classes | Index | Search
Sample interface in ClanLib. More...
Derived from:
none
Derived by:
none
Group: Sound (Audio Mixing)
#include <ClanLib/sound.h>
Construction:
Construct sound buffer. |
Attributes:
Returns the sound provider to be used for playback. | |
Returns the start/default volume used when the buffer is played. | |
Returns the default panning position when the buffer is played. | |
Returns true if an instance of this soundbuffer is playing |
Operations:
Copy assignment operator. | |
Sets the volume of the sound buffer in a relative measure (0->1) | |
Sets the panning of the sound buffer played in measures from -1 -> 1 | |
Adds the sound filter to the sound buffer. | |
Remove the sound filter from the sound buffer. | |
Stops any sessions playing this soundbuffer | |
Plays the soundbuffer on the specified soundcard. | |
Prepares the soundbuffer for playback on the specified soundcard. |
Detailed description:
!group=Sound/Audio Mixing! !header=sound.h!The CL_SoundBuffer class represents a sample in ClanLib. It can either be static or streamed. The soundbuffer gets its sample data from a soundprovider, that is passed during construction.