#include <AudioData.h>
Inheritance diagram for AudioDataImpl< Type, ValueType, SampleValueType >:
Public Member Functions | |
AudioDataImpl (CvrStgFile *f) | |
virtual | ~AudioDataImpl (void) |
void | read (BinaryIO *io, UWORD32 n=AudioData::NoLimit) |
void | write (BinaryIO *io, UWORD32 n=AudioData::NoLimit) |
unsigned long | getNumSamples (void) const |
SampleValue * | getSampleValue (const SamplePos pos) const |
void | replaceSample (const SamplePos pos, const SampleValue *s) |
Private Member Functions | |
ValueType | readValue (BinaryIO *io) const |
void | writeValue (BinaryIO *io, ValueType v) const |
Private Attributes | |
std::vector< ValueType > | Data |
CvrStgFile * | TheCvrStgFile |
|
|
|
|
|
get the number of samples in this CvrStgObject Implements CvrStgObject. |
|
get the sample at position pos
Implements CvrStgObject. |
|
Implements AudioData. |
|
|
|
replace a sample thus (possibly) altering the value of the bit returned by SampleValue->getBit()
Implements CvrStgObject. |
|
Implements AudioData. |
|
|
|
|
|
|