#include <stream_soundprovider.h>
Inheritance diagram for CL_StreamSoundProvider_Session:

Public Methods | |
| virtual | ~CL_StreamSoundProvider_Session () |
| virtual bool | eof () const=0 |
| virtual void | stop ()=0 |
| retval: True if end of input data. False otherwise. | |
| virtual bool | play ()=0 |
| virtual bool | set_position (int pos)=0 |
| retval: True for success. False otherwise. | |
| virtual int | get_data (void *data_ptr, int data_requested)=0 |
| param: pos - Position to seek to.retval: True for success. False otherwise. | |
| virtual int | get_frequency () const=0 |
| param: data_ptr - Points to a buffer that should be filled withparam: sample data.param: data_requested - Bytes of data requested.retval: Number of bytes actually filled with sample data. | |
| virtual SoundFormat | get_format () const=0 |
| retval: Playback frequency. | |
|
|
Definition at line 47 of file stream_soundprovider.h. |
|
|
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
param: pos - Position to seek to.retval: True for success. False otherwise.
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
retval: Playback frequency.
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
param: data_ptr - Points to a buffer that should be filled withparam: sample data.param: data_requested - Bytes of data requested.retval: Number of bytes actually filled with sample data.
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
retval: True for success. False otherwise.
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
|
|
retval: True if end of input data. False otherwise.
Reimplemented in CL_Streamed_MikModSample_Session, CL_MPEGSoundProvider_Session, CL_Streamed_RawSample_Session, CL_Streamed_WaveSample_Session, and CL_VorbisStream. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001