12 #ifndef ROC_AUDIO_CHANNEL_MAPPER_TABLE_H_
13 #define ROC_AUDIO_CHANNEL_MAPPER_TABLE_H_
Channel layout, order, and positions.
const size_t chan_map_count
Number of defined channel mappings.
ChannelPosition
Surround channel position.
@ ChanPos_Max
Maximum value of enum.
float sample_t
Audio sample.
uint32_t ChannelMask
Channel mask.
const ChannelMap chan_maps[chan_map_count]
Defines list of mappings between all supported surround channel mask pairs. Channel mapper will searc...
const ChannelList chan_orders[ChanOrder_Max]
Defines mapping of channel order identifier to list of channel positions in corresponding order.
@ ChanOrder_Max
Maximum value of enum.
Defines ordered list of channels.
ChannelPosition chans[ChanPos_Max+1]
Channels.
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. Instead of defining the whole matrix,...
ChannelMask out_mask
Channel mask of output stream.
const char * name
Mapping name.
ChannelMask in_mask
Channel mask of input stream.
ChannelMapRule rules[24]
Transformation rules. Rules are used to fill channel mapping matrix.