JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness > Struct Template Reference

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

#include <juce_AudioFormatReader.h>

Public Types

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

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 juce::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 >
using juce::AudioFormatReader::ReadHelper< DestSampleType, SourceSampleType, SourceEndianness >::DestType = AudioData::Pointer<DestSampleType, AudioData::NativeEndian, AudioData::NonInterleaved, AudioData::NonConst>

◆ SourceType

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

Member Function Documentation

◆ read()

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

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