AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness > Struct Template Reference

Used by AudioFormatReader subclasses to copy data to different formats. More...

Public Types

typedef AudioData::Pointer< DestSampleType, AudioData::NativeEndian, AudioData::NonInterleaved, AudioData::NonConst > DestType
 
typedef AudioData::Pointer< SourceSampleType, SourceEndianness, AudioData::Interleaved, AudioData::Const > SourceType
 

Static Public Member Functions

template<typename TargetType >
static void read (TargetType *const *destData, int destOffset, int numDestChannels, const void *sourceData, int numSourceChannels, int numSamples) noexcept
 

Detailed Description

template<class DestSampleType, class SourceSampleType, class SourceEndianness>
struct AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness >

Used by AudioFormatReader subclasses to copy data to different formats.

Member Typedef Documentation

◆ DestType

template<class DestSampleType , class SourceSampleType , class SourceEndianness >
typedef AudioData::Pointer<DestSampleType, AudioData::NativeEndian, AudioData::NonInterleaved, AudioData::NonConst> AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness >::DestType

◆ SourceType

template<class DestSampleType , class SourceSampleType , class SourceEndianness >
typedef AudioData::Pointer<SourceSampleType, SourceEndianness, AudioData::Interleaved, AudioData::Const> AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness >::SourceType

Member Function Documentation

◆ read()

template<class DestSampleType , class SourceSampleType , class SourceEndianness >
template<typename TargetType >
static void AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness >::read ( TargetType *const *  destData,
int  destOffset,
int  numDestChannels,
const void *  sourceData,
int  numSourceChannels,
int  numSamples 
)
staticnoexcept

The documentation for this struct was generated from the following file: