JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase Struct Reference

#include <JPLSpatial/Panning/PannerBase.h>

Inheritance diagram for JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase:
JPL::VBAP::Panning2D< Traits >::SourceLayout JPL::VBAP::Panning3D< Traits, cLUTType >::SourceLayout

Public Member Functions

JPL_INLINE bool IsInitialized () const noexcept
 
JPL_INLINE ChannelMap GetTargetChannelMap () const noexcept
 

Public Attributes

Array< ChannelGroupChannelGroups { GetDefaultMemoryResource()}
 Groups of virtual sources associated with source channels.
 

Protected Member Functions

JPL_INLINE float GetDefaultVSWeight () const noexcept
 
JPL_INLINE void SetTargetChannelMap (ChannelMap targetChannelMap) noexcept
 
bool InitializeBase (ChannelMap channelMap, ChannelMap targetMap, uint32 numVirtualSourcesPerChannel)
 

Protected Attributes

ChannelMap mTargetChannelMap
 
float mDefaultVSWeight
 

Detailed Description

template<class PannerType, class Traits>
struct JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase

Represents channel layout of a a source as groups of Virtual Sources per source channel. SourceLayout can be initialized per ChannelMap and reused for soruces with the same channel count routing to the output of the same target channel count. (initialized by the panner of the target output channel map)

Member Function Documentation

◆ GetDefaultVSWeight()

template<class PannerType , class Traits >
JPL_INLINE float JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::GetDefaultVSWeight ( ) const
inlineprotectednoexcept

◆ GetTargetChannelMap()

template<class PannerType , class Traits >
JPL_INLINE ChannelMap JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::GetTargetChannelMap ( ) const
inlinenoexcept

◆ InitializeBase()

template<class PannerType , class Traits >
bool JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::InitializeBase ( ChannelMap  channelMap,
ChannelMap  targetMap,
uint32  numVirtualSourcesPerChannel 
)
inlineprotected

◆ IsInitialized()

template<class PannerType , class Traits >
JPL_INLINE bool JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::IsInitialized ( ) const
inlinenoexcept

◆ SetTargetChannelMap()

template<class PannerType , class Traits >
JPL_INLINE void JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::SetTargetChannelMap ( ChannelMap  targetChannelMap)
inlineprotectednoexcept

Member Data Documentation

◆ ChannelGroups

template<class PannerType , class Traits >
Array<ChannelGroup> JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::ChannelGroups { GetDefaultMemoryResource()}

Groups of virtual sources associated with source channels.

◆ mDefaultVSWeight

template<class PannerType , class Traits >
float JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::mDefaultVSWeight
protected

◆ mTargetChannelMap

template<class PannerType , class Traits >
ChannelMap JPL::VBAPannerBase< PannerType, Traits >::VBAPLayoutBase::mTargetChannelMap
protected

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