#include <input_flac.h>
Inheritance diagram for audiere::FLACInputStream:


Public Member Functions | |
| FLACInputStream () | |
| ~FLACInputStream () | |
| bool | initialize (FilePtr file) |
| void | getFormat (int &channel_count, int &sample_rate, SampleFormat &sampleformat) |
| int | doRead (int frame_count, void *samples) |
| void | reset () |
| bool | isSeekable () |
| int | getLength () |
| void | setPosition (int position) |
| int | getPosition () |
Definition at line 13 of file input_flac.h.
|
|
Definition at line 8 of file input_flac.cpp. References audiere::SF_S16. |
|
|
Definition at line 20 of file input_flac.cpp. |
|
||||||||||||
|
Implement this method in subclasses.
Implements audiere::BasicSource. Definition at line 113 of file input_flac.cpp. References audiere::GetSampleSize(), and audiere::QueueBuffer::getSize(). |
|
||||||||||||||||
|
Retrieve the number of channels, sample rate, and sample format of the sample source. Implements audiere::SampleSource. Definition at line 101 of file input_flac.cpp. |
|
|
Reimplemented from audiere::BasicSource. Definition at line 163 of file input_flac.cpp. |
|
|
Returns the current position within the sample source.
Reimplemented from audiere::BasicSource. Definition at line 177 of file input_flac.cpp. References audiere::GetSampleSize(), and audiere::QueueBuffer::getSize(). |
|
|
Definition at line 30 of file input_flac.cpp. References audiere::BasicSource::read(), SET_CALLBACK, audiere::SF_S16, and audiere::SF_U8. |
|
|
Reimplemented from audiere::BasicSource. Definition at line 157 of file input_flac.cpp. |
|
|
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 148 of file input_flac.cpp. References audiere::File::BEGIN, and audiere::QueueBuffer::clear(). |
|
|
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_flac.cpp. |
1.4.6