

Public Methods | |
| SampleBufferImpl (void *samples, int frame_count, int channel_count, int sample_rate, SampleFormat sample_format) | |
| ~SampleBufferImpl () | |
| void ADR_CALL | getFormat (int &channel_count, int &sample_rate, SampleFormat &sample_format) |
| int ADR_CALL | getLength () |
| const void *ADR_CALL | getSamples () |
| SampleSource *ADR_CALL | openStream () |
|
||||||||||||||||||||||||
|
Definition at line 68 of file sample_buffer.cpp. References audiere::channel_count, audiere::frame_count, audiere::GetSampleSize(), audiere::hidden::sample_format, audiere::sample_rate, audiere::SampleFormat, and audiere::u8. |
|
|
Definition at line 87 of file sample_buffer.cpp. |
|
||||||||||||||||
|
Return the format of the sample data in the sample buffer.
Implements audiere::SampleBuffer. Definition at line 91 of file sample_buffer.cpp. References ADR_CALL, audiere::channel_count, audiere::hidden::sample_format, audiere::sample_rate, and audiere::SampleFormat. |
|
|
Get the length of the sample buffer in frames. Implements audiere::SampleBuffer. Definition at line 101 of file sample_buffer.cpp. References ADR_CALL. |
|
|
Get a readonly pointer to the samples contained within the buffer. The buffer is |channel_count * frame_count * GetSampleSize(sample_format)| bytes long. Implements audiere::SampleBuffer. Definition at line 105 of file sample_buffer.cpp. References ADR_CALL. |
|
|
Open a seekable sample source using the samples contained in the buffer. Implements audiere::SampleBuffer. Definition at line 109 of file sample_buffer.cpp. References ADR_CALL. |
1.2.17