#include <audiere.h>
Inheritance diagram for audiere::SampleBuffer:
Public Member Functions | |
virtual void | getFormat (int &channel_count, int &sample_rate, SampleFormat &sample_format)=0 |
virtual int | getLength ()=0 |
virtual const void * | getSamples ()=0 |
virtual SampleSource * | openStream ()=0 |
Protected Member Functions | |
~SampleBuffer () |
Definition at line 786 of file audiere.h.
|
|
|
Return the format of the sample data in the sample buffer.
|
|
Get the length of the sample buffer in frames. |
|
Get a readonly pointer to the samples contained within the buffer. The buffer is |channel_count * frame_count * GetSampleSize(sample_format)| bytes long. |
|
Open a seekable sample source using the samples contained in the buffer. |