#include <stream_provider_raw.h>
Inheritance diagram for CL_Streamed_RawSample_Session:


Public Methods | |
| CL_Streamed_RawSample_Session (CL_InputSource *input, SoundFormat format, int frequency, bool looped) | |
| virtual | ~CL_Streamed_RawSample_Session () |
| virtual void | stop () |
| retval: True if end of input data. False otherwise. | |
| virtual bool | play () |
| virtual bool | set_position (int pos) |
| retval: True for success. False otherwise. | |
| virtual bool | eof () const |
| virtual int | get_data (void *data_ptr, int data_requested) |
| param: pos - Position to seek to.retval: True for success. False otherwise. | |
| virtual int | get_frequency () const |
| 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 |
| retval: Playback frequency. | |
Protected Attributes | |
| CL_InputSource* | input |
| SoundFormat | sample_format |
| int | sample_size |
| int | sample_freq |
| int | sample_left |
| bool | looped |
|
|
|
|
|
|
|
|
Reimplemented from CL_StreamSoundProvider_Session. |
|
|
param: pos - Position to seek to.retval: True for success. False otherwise.
Reimplemented from CL_StreamSoundProvider_Session. |
|
|
retval: Playback frequency.
Reimplemented from CL_StreamSoundProvider_Session. |
|
|
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 from CL_StreamSoundProvider_Session. |
|
|
Reimplemented from CL_StreamSoundProvider_Session. Definition at line 111 of file stream_provider_raw.h. |
|
|
retval: True for success. False otherwise.
Reimplemented from CL_StreamSoundProvider_Session. Definition at line 112 of file stream_provider_raw.h. |
|
|
retval: True if end of input data. False otherwise.
Reimplemented from CL_StreamSoundProvider_Session. Definition at line 110 of file stream_provider_raw.h. |
|
|
Definition at line 93 of file stream_provider_raw.h. |
|
|
Definition at line 99 of file stream_provider_raw.h. |
|
|
Definition at line 95 of file stream_provider_raw.h. |
|
|
Definition at line 97 of file stream_provider_raw.h. |
|
|
Definition at line 98 of file stream_provider_raw.h. |
|
|
Definition at line 96 of file stream_provider_raw.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001