![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Streamed sample in wave (.wav) format.
Contained in: global
Derived from:
CL_StreamSoundProvider
Derived by:
none
Group: Sound (Sound Providers)
#include <ClanLib/sound.h>
public function member index: |
||
Construction: |
||
static CL_SoundBuffer* | create | (const std::string& filename, CL_InputSourceProvider* inputprovider = NULL, bool looped = false); |
CL_Streamed_WaveSample | (const std::string& filename, CL_InputSourceProvider* inputprovider = NULL, bool looped = false); | |
virtual | ~CL_Streamed_WaveSample | (); |
Operations: |
||
virtual CL_StreamSoundProvider_Session* | begin_session | (); |
virtual void | end_session | (CL_StreamSoundProvider_Session* session); |
filename - Filename of the raw PCM stream.
frequency - Default playback frequency.
inputprovider - Input source (datafile, regular file). If NULL
it defaults to a regular file.
looped - True if the streamed should be looped (stream never ends).
filename - Filename of the wave file.
inputprovider - Input source (datafile, regular file). If NULL
it defaults to a regular file.
looped - True if the streamed should be looped (stream never ends).
Returns - The soundbuffer created.