JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::ChannelMask Namespace Reference

Common channel masks. More...

Functions

JPL_INLINE std::string_view ToString (uint32 channelMask)
 

Variables

constexpr uint32 Invalid = uint32(0)
 
constexpr uint32 Mono = FrontCenter
 
constexpr uint32 Stereo = FrontLeft | FrontRight
 
constexpr uint32 LCR = FrontLeft | FrontRight | FrontCenter
 
constexpr uint32 LRS = FrontLeft | FrontRight | BackCenter
 
constexpr uint32 LCRS = FrontLeft | FrontRight | FrontCenter | BackCenter
 
constexpr uint32 Quad = FrontLeft | FrontRight | BackLeft | BackRight
 
constexpr uint32 Pentagonal = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight
 
constexpr uint32 Octagonal = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | BackCenter | WideLeft | WideRight
 
constexpr uint32 Surround_4_1 = FrontLeft | FrontRight | LFE | BackLeft | BackRight
 
constexpr uint32 Surround_5_0 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight
 
constexpr uint32 Surround_5_1 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight
 
constexpr uint32 Surround_6_0 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | BackCenter
 
constexpr uint32 Surround_6_1 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | BackCenter
 
constexpr uint32 Surround_7_0 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight
 
constexpr uint32 Surround_7_1 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight
 
constexpr uint32 Surround_5_0_2 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | TopSideLeft | TopSideRight
 
constexpr uint32 Surround_5_1_2 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | TopSideLeft | TopSideRight
 
constexpr uint32 Surround_5_0_4 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_5_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_7_0_2 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | TopSideLeft | TopSideRight
 
constexpr uint32 Surround_7_1_2 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | TopSideLeft | TopSideRight
 
constexpr uint32 Surround_7_0_4 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_7_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_7_0_6 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopSideLeft | TopSideRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_7_1_6 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopSideLeft | TopSideRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_9_0_4 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_9_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_9_0_6 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopSideLeft | TopSideRight | TopBackLeft | TopBackRight
 
constexpr uint32 Surround_9_1_6 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopSideLeft | TopSideRight | TopBackLeft | TopBackRight
 

Detailed Description

Common channel masks.

Function Documentation

◆ ToString()

JPL_INLINE std::string_view JPL::ChannelMask::ToString ( uint32 channelMask)

Variable Documentation

◆ Invalid

uint32 JPL::ChannelMask::Invalid = uint32(0)
inlineconstexpr

◆ LCR

uint32 JPL::ChannelMask::LCR = FrontLeft | FrontRight | FrontCenter
inlineconstexpr

◆ LCRS

uint32 JPL::ChannelMask::LCRS = FrontLeft | FrontRight | FrontCenter | BackCenter
inlineconstexpr

◆ LRS

uint32 JPL::ChannelMask::LRS = FrontLeft | FrontRight | BackCenter
inlineconstexpr

◆ Mono

uint32 JPL::ChannelMask::Mono = FrontCenter
inlineconstexpr

◆ Octagonal

uint32 JPL::ChannelMask::Octagonal = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | BackCenter | WideLeft | WideRight
inlineconstexpr

◆ Pentagonal

uint32 JPL::ChannelMask::Pentagonal = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight
inlineconstexpr

◆ Quad

uint32 JPL::ChannelMask::Quad = FrontLeft | FrontRight | BackLeft | BackRight
inlineconstexpr

◆ Stereo

uint32 JPL::ChannelMask::Stereo = FrontLeft | FrontRight
inlineconstexpr

◆ Surround_4_1

uint32 JPL::ChannelMask::Surround_4_1 = FrontLeft | FrontRight | LFE | BackLeft | BackRight
inlineconstexpr

◆ Surround_5_0

uint32 JPL::ChannelMask::Surround_5_0 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight
inlineconstexpr

◆ Surround_5_0_2

uint32 JPL::ChannelMask::Surround_5_0_2 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | TopSideLeft | TopSideRight
inlineconstexpr

◆ Surround_5_0_4

uint32 JPL::ChannelMask::Surround_5_0_4 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_5_1

uint32 JPL::ChannelMask::Surround_5_1 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight
inlineconstexpr

◆ Surround_5_1_2

uint32 JPL::ChannelMask::Surround_5_1_2 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | TopSideLeft | TopSideRight
inlineconstexpr

◆ Surround_5_1_4

uint32 JPL::ChannelMask::Surround_5_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_6_0

uint32 JPL::ChannelMask::Surround_6_0 = FrontLeft | FrontRight | FrontCenter | BackLeft | BackRight | BackCenter
inlineconstexpr

◆ Surround_6_1

uint32 JPL::ChannelMask::Surround_6_1 = FrontLeft | FrontRight | FrontCenter | LFE | BackLeft | BackRight | BackCenter
inlineconstexpr

◆ Surround_7_0

uint32 JPL::ChannelMask::Surround_7_0 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight
inlineconstexpr

◆ Surround_7_0_2

uint32 JPL::ChannelMask::Surround_7_0_2 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | TopSideLeft | TopSideRight
inlineconstexpr

◆ Surround_7_0_4

uint32 JPL::ChannelMask::Surround_7_0_4 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_7_0_6

◆ Surround_7_1

uint32 JPL::ChannelMask::Surround_7_1 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight
inlineconstexpr

◆ Surround_7_1_2

uint32 JPL::ChannelMask::Surround_7_1_2 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | TopSideLeft | TopSideRight
inlineconstexpr

◆ Surround_7_1_4

uint32 JPL::ChannelMask::Surround_7_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_7_1_6

◆ Surround_9_0_4

uint32 JPL::ChannelMask::Surround_9_0_4 = FrontLeft | FrontRight | FrontCenter | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_9_0_6

◆ Surround_9_1_4

uint32 JPL::ChannelMask::Surround_9_1_4 = FrontLeft | FrontRight | FrontCenter | LFE | SideLeft | SideRight | BackLeft | BackRight | WideLeft | WideRight | TopFrontLeft | TopFrontRight | TopBackLeft | TopBackRight
inlineconstexpr

◆ Surround_9_1_6