#include <audiere.h>
Inheritance diagram for audiere::SampleBuffer:


Public Methods | |
| virtual void ADR_CALL | getFormat (int &channel_count, int &sample_rate, SampleFormat &sample_format)=0 |
| virtual int ADR_CALL | getLength ()=0 |
| virtual const void *ADR_CALL | getSamples ()=0 |
| virtual SampleSource *ADR_CALL | openStream ()=0 |
Protected Methods | |
| ~SampleBuffer () | |
Definition at line 486 of file audiere.h.
|
|
|
|
||||||||||||||||
|
Return the format of the sample data in the sample buffer.
Implemented in audiere::SampleBufferImpl. Referenced by audiere::BufferStream::BufferStream(). |
|
|
Get the length of the sample buffer in frames. Implemented in audiere::SampleBufferImpl. |
|
|
Get a readonly pointer to the samples contained within the buffer. The buffer is |channel_count * frame_count * GetSampleSize(sample_format)| bytes long. Implemented in audiere::SampleBufferImpl. |
|
|
Open a seekable sample source using the samples contained in the buffer. Implemented in audiere::SampleBufferImpl. Referenced by audiere::OpenBufferStream(). |
1.2.17