A class that converts between two templated AudioData::Pointer types, and which implements the AudioData::Converter interface.
More...
#include <juce_AudioDataConverters.h>
|
| ConverterInstance (int numSourceChannels=1, int numDestChannels=1) |
|
void | convertSamples (void *dest, const void *source, int numSamples) const override |
| Converts a sequence of samples from the converter's source format into the dest format. More...
|
|
void | convertSamples (void *dest, int destSubChannel, const void *source, int sourceSubChannel, int numSamples) const override |
| Converts a sequence of samples from the converter's source format into the dest format. More...
|
|
template<class SourceSampleType, class DestSampleType>
class AudioData::ConverterInstance< SourceSampleType, DestSampleType >
A class that converts between two templated AudioData::Pointer types, and which implements the AudioData::Converter interface.
This can be used as a concrete instance of the AudioData::Converter abstract class.
- See also
- AudioData::Converter
◆ ConverterInstance()
template<class SourceSampleType , class DestSampleType >
◆ convertSamples() [1/2]
template<class SourceSampleType , class DestSampleType >
void AudioData::ConverterInstance< SourceSampleType, DestSampleType >::convertSamples |
( |
void * |
destSamples, |
|
|
const void * |
sourceSamples, |
|
|
int |
numSamples |
|
) |
| const |
|
inlineoverridevirtual |
Converts a sequence of samples from the converter's source format into the dest format.
Implements AudioData::Converter.
◆ convertSamples() [2/2]
template<class SourceSampleType , class DestSampleType >
void AudioData::ConverterInstance< SourceSampleType, DestSampleType >::convertSamples |
( |
void * |
destSamples, |
|
|
int |
destSubChannel, |
|
|
const void * |
sourceSamples, |
|
|
int |
sourceSubChannel, |
|
|
int |
numSamples |
|
) |
| const |
|
inlineoverridevirtual |
◆ destChannels
template<class SourceSampleType , class DestSampleType >
◆ sourceChannels
template<class SourceSampleType , class DestSampleType >
The documentation for this class was generated from the following file: