implementation of the AudioData-Interface
#include <AudioData.h>
|
static const UWORD32 | NoLimit = 0 |
| constant that can be used as parameter to read and write to indicate that there is no limit
|
|
◆ AudioDataImpl()
template<
AUDIOSAMPLETYPE Type, class ValueType , class SampleValueType = AudioSampleValue<Type,ValueType>>
◆ ~AudioDataImpl()
template<
AUDIOSAMPLETYPE Type, class ValueType , class SampleValueType = AudioSampleValue<Type,ValueType>>
◆ getNumSamples()
unsigned long AudioDataImpl< Type, ValueType, SampleValueType >::getNumSamples |
( |
void |
| ) |
const |
|
virtual |
◆ getSampleValue()
get the sample at position pos
- Parameters
-
- Returns
- the sample at the given position
The sample object is created in this function and should be deleted by the caller. The derived class should check the condition(s) given above in its Implementation of this function.
Implements CvrStgObject.
◆ read()
◆ readValue()
◆ replaceSample()
replace a sample thus (possibly) altering the value of the bit returned by SampleValue->getBit()
- Parameters
-
pos | the position of the sample (must be in 0...getNumSamples()-1) |
s | the sample value that should replace the current sample value (must be of correct type for this CvrStgObject) |
The derived class should check the condition(s) given above in its Implementation of this function.
Implements CvrStgObject.
◆ write()
◆ writeValue()
template<
AUDIOSAMPLETYPE Type, class ValueType , class SampleValueType = AudioSampleValue<Type,ValueType>>
◆ Data
template<
AUDIOSAMPLETYPE Type, class ValueType , class SampleValueType = AudioSampleValue<Type,ValueType>>
std::vector<ValueType> AudioDataImpl< Type, ValueType, SampleValueType >::Data |
|
private |
◆ TheCvrStgFile
template<
AUDIOSAMPLETYPE Type, class ValueType , class SampleValueType = AudioSampleValue<Type,ValueType>>
The documentation for this class was generated from the following files: