JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AudioData::ChannelDataSubtypes< IsInterleaved, IsConst, DataFormat, Endianness > Struct Template Reference

Public Types

using ChannelType = std::conditional_t< IsConst, const ElementType *, ElementType * >
 
using DataType = std::conditional_t< IsInterleaved, ChannelType, ChannelType * >
 
using ElementType = std::remove_pointer_t< decltype(DataFormat::data)>
 
using PointerType = Pointer< DataFormat, Endianness, std::conditional_t< IsInterleaved, Interleaved, NonInterleaved >, std::conditional_t< IsConst, Const, NonConst > >
 

Member Typedef Documentation

◆ ChannelType

template<bool IsInterleaved, bool IsConst, typename DataFormat , typename Endianness >
using juce::AudioData::ChannelDataSubtypes< IsInterleaved, IsConst, DataFormat, Endianness >::ChannelType = std::conditional_t<IsConst, const ElementType*, ElementType*>

◆ DataType

template<bool IsInterleaved, bool IsConst, typename DataFormat , typename Endianness >
using juce::AudioData::ChannelDataSubtypes< IsInterleaved, IsConst, DataFormat, Endianness >::DataType = std::conditional_t<IsInterleaved, ChannelType, ChannelType*>

◆ ElementType

template<bool IsInterleaved, bool IsConst, typename DataFormat , typename Endianness >
using juce::AudioData::ChannelDataSubtypes< IsInterleaved, IsConst, DataFormat, Endianness >::ElementType = std::remove_pointer_t<decltype (DataFormat::data)>

◆ PointerType

template<bool IsInterleaved, bool IsConst, typename DataFormat , typename Endianness >
using juce::AudioData::ChannelDataSubtypes< IsInterleaved, IsConst, DataFormat, Endianness >::PointerType = Pointer<DataFormat, Endianness, std::conditional_t<IsInterleaved, Interleaved, NonInterleaved>, std::conditional_t<IsConst, Const, NonConst> >

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