12 #ifndef ROC_AUDIO_CHANNEL_TABLES_H_
13 #define ROC_AUDIO_CHANNEL_TABLES_H_
Channel layout, order, and positions.
const ChannelMaskName ChanMaskNames[17]
Defines mapping between channel mask and its name.
ChannelPosition
Surround channel position.
@ ChanPos_Max
Maximum value of enum.
float sample_t
Raw audio sample.
const ChannelPositionName ChanPositionNames[ChanPos_Max]
Defines mapping between channel position and its name.
const ChannelOrderTable ChanOrderTables[ChanOrder_Max]
Defines mapping of channel order identifier to list of channel positions in corresponding order.
const ChannelMapTable ChanMapTables[71]
Defines list of mappings between all supported surround channel mask pairs.
uint32_t ChannelMask
Channel mask.
ChannelOrder
Surround channel order.
@ ChanOrder_Max
Maximum value of enum.
Defines multiplication coefficient for a pair of channels.
ChannelPosition in_ch
Index of input channel.
sample_t coeff
Multiplication coefficient.
ChannelPosition out_ch
Index of output channel.
Defines multiplication matrix for two channel masks.
const char * name
Table name.
ChannelMask out_mask
Channel mask of output stream.
ChannelMask in_mask
Channel mask of input stream.
ChannelMapRule rules[32]
Transformation rules. Rules are used to fill channel mapping matrix.
Defines string name for pre-defined channel mask.
ChannelMask mask
Bitmask of enabled channels.
const char * name
Mask name.
Defines ordered list of channels.
const char * name
Order name.
ChannelPosition chans[ChanPos_Max+1]
List of channels. Last channel is equal to ChanPos_Max.
ChannelOrder order
Order identifier.
Defines string name for channel position.
const char * name
Channel name.
ChannelPosition pos
Channel position (numeric identifier).