#include <input_ogg.h>
Inheritance diagram for audiere::OGGInputStream:
Public Member Functions | |
OGGInputStream () | |
~OGGInputStream () | |
bool | initialize (FilePtr file) |
void | getFormat (int &channel_count, int &sample_rate, SampleFormat &sample_format) |
int | doRead (int frame_count, void *buffer) |
void | reset () |
bool | isSeekable () |
int | getLength () |
void | setPosition (int position) |
int | getPosition () |
Definition at line 12 of file input_ogg.h.
|
Definition at line 13 of file input_ogg.cpp. References audiere::SF_S16. |
|
Definition at line 22 of file input_ogg.cpp. |
|
Implement this method in subclasses.
Implements audiere::BasicSource. Definition at line 96 of file input_ogg.cpp. References ENDIANNESS, and audiere::GetSampleSize(). |
|
Retrieve the number of channels, sample rate, and sample format of the sample source. Implements audiere::SampleSource. Definition at line 84 of file input_ogg.cpp. |
|
Reimplemented from audiere::BasicSource. Definition at line 159 of file input_ogg.cpp. References isSeekable(). |
|
Returns the current position within the sample source.
Reimplemented from audiere::BasicSource. Definition at line 177 of file input_ogg.cpp. References isSeekable(). |
|
Definition at line 31 of file input_ogg.cpp. References audiere::BasicSource::addTag(), and audiere::RefPtr< T >::get(). |
|
Reimplemented from audiere::BasicSource. Definition at line 153 of file input_ogg.cpp. Referenced by getLength(), getPosition(), and setPosition(). |
|
Reset the sample source. This has the same effect as setPosition(0) on a seekable source. On an unseekable source, it resets all internal state to the way it was when the source was first created. Implements audiere::SampleSource. Definition at line 147 of file input_ogg.cpp. |
|
Sets the current position within the sample source. If the stream is not seekable, this method does nothing.
Reimplemented from audiere::BasicSource. Definition at line 169 of file input_ogg.cpp. References isSeekable(). |