#include <input_aiff.h>
Inheritance diagram for audiere::AIFFInputStream:
Public Member Functions | |
AIFFInputStream () | |
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_aiff.h.
|
Definition at line 19 of file input_aiff.cpp. References audiere::SF_U8. |
|
Implement this method in subclasses.
Implements audiere::BasicSource. Definition at line 78 of file input_aiff.cpp. References audiere::GetSampleSize(), audiere::BasicSource::read(), and audiere::SF_S16. |
|
Retrieve the number of channels, sample rate, and sample format of the sample source. Implements audiere::SampleSource. Definition at line 66 of file input_aiff.cpp. |
|
Reimplemented from audiere::BasicSource. Definition at line 129 of file input_aiff.cpp. |
|
Returns the current position within the sample source.
Reimplemented from audiere::BasicSource. Definition at line 143 of file input_aiff.cpp. |
|
Definition at line 35 of file input_aiff.cpp. |
|
Reimplemented from audiere::BasicSource. Definition at line 123 of file input_aiff.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 113 of file input_aiff.cpp. References ADR_LOG, and audiere::File::BEGIN. |
|
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 135 of file input_aiff.cpp. References audiere::File::BEGIN, and audiere::GetSampleSize(). |