![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Streamed soundprovider playback session
Contained in: global
Derived from:
none
Derived by:
CL_Streamed_MikModSample_Session
CL_Streamed_RawSample_Session
CL_Streamed_WaveSample_Session
Group: Sound (Audio Mixing)
#include <ClanLib/sound.h>
public function member index: |
||
Construction: |
||
virtual | ~CL_StreamSoundProvider_Session | (); |
Operations: |
||
virtual bool | eof | () const; |
virtual void | stop | (); |
virtual bool | play | (); |
virtual bool | set_position | (int pos); |
Attributes: |
||
virtual int | get_data | (void* data_ptr, int data_requested); |
virtual int | get_frequency | () const; |
virtual SoundFormat | get_format | () const; |
Returns - True if end of input data. False otherwise.
data_ptr - Points to a buffer that should be filled with
sample data.
data_requested - Bytes of data requested.
Returns - Number of bytes actually filled with sample data.
Returns - The playback Sample format.
Returns - Playback frequency.
Returns - True for success. False otherwise.
pos - Position to seek to.
Returns - True for success. False otherwise.