|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Panning/VBAPEx.h>
Public Member Functions | |
| JPL_INLINE constexpr std::strong_ordering | operator<=> (const ChannelAngle &other) const noexcept |
| JPL_INLINE constexpr bool | operator== (const ChannelAngle &other) const noexcept |
Static Public Member Functions | |
| template<template< typename... > class ArrayType, class ... Args> | |
| static void | GetSortedChannelAngles (ChannelMap channelMap, ArrayType< ChannelAngle, Args... > &sortedChannelAngles, std::function< float(EChannel)> getChannelAngle, bool skipLFE=true) |
| Get channel angles from ChannelMap, normalize to [0, Pi] and sort in assending order. | |
Public Attributes | |
| float | Angle |
| uint32 | ChannelId |
|
inlinestatic |
Get channel angles from ChannelMap, normalize to [0, Pi] and sort in assending order.
Note: we may want to handle this differently if the user expects LFE in the audio block (e.g. we could skip it in ProcessVBAPData, while set mix matrix gains for LFE to 0.0)
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| float JPL::VBAP::ChannelAngle::Angle |
| uint32 JPL::VBAP::ChannelAngle::ChannelId |