#include <vorbis_soundprovider_generic.h>
Inheritance diagram for CL_VorbisStream:


Public Methods | |
| CL_VorbisStream (CL_InputSource *input) | |
| virtual | ~CL_VorbisStream () |
| virtual bool | eof () const |
| 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 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. | |
Private Methods | |
| void | init () |
| void | deinit () |
| void | stream_data () |
Private Attributes | |
| bool | inited |
| CL_InputSource* | input |
| bool | stream_eof |
| ogg_sync_state | oy |
| ogg_stream_state | os |
| ogg_page | og |
| ogg_packet | op |
| vorbis_info | vi |
| vorbis_comment | vc |
| vorbis_dsp_state | vd |
| vorbis_block | vb |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
retval: True for success. False otherwise.
Reimplemented from CL_StreamSoundProvider_Session. |
|
|
retval: True if end of input data. False otherwise.
Reimplemented from CL_StreamSoundProvider_Session. |
|
|
|
|
|
Definition at line 50 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 51 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 57 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 58 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 55 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 54 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 52 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 64 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 62 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 63 of file vorbis_soundprovider_generic.h. |
|
|
Definition at line 60 of file vorbis_soundprovider_generic.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001