Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::audio::ChannelMap Struct Reference

Defines multiplication matrix for two channel masks. Instead of defining the whole matrix, it defines a list of pairs of output and input channel numbers and corresponding coefficients. Such representation allows more compact definition in the source code. The actual matrix is built by channel mapper at runtime. More...

#include <channel_mapper_table.h>

Collaboration diagram for roc::audio::ChannelMap:

Public Attributes

const char * name
 Mapping name. More...
 
ChannelMask in_mask
 Channel mask of input stream. More...
 
ChannelMask out_mask
 Channel mask of output stream. More...
 
ChannelMapRule rules [24]
 Transformation rules. Rules are used to fill channel mapping matrix. More...
 

Detailed Description

Defines multiplication matrix for two channel masks. Instead of defining the whole matrix, it defines a list of pairs of output and input channel numbers and corresponding coefficients. Such representation allows more compact definition in the source code. The actual matrix is built by channel mapper at runtime.

Definition at line 33 of file channel_mapper_table.h.

Member Data Documentation

◆ in_mask

ChannelMask roc::audio::ChannelMap::in_mask

Channel mask of input stream.

Definition at line 36 of file channel_mapper_table.h.

◆ name

const char* roc::audio::ChannelMap::name

Mapping name.

Definition at line 34 of file channel_mapper_table.h.

◆ out_mask

ChannelMask roc::audio::ChannelMap::out_mask

Channel mask of output stream.

Definition at line 37 of file channel_mapper_table.h.

◆ rules

ChannelMapRule roc::audio::ChannelMap::rules[24]

Transformation rules. Rules are used to fill channel mapping matrix.

Definition at line 41 of file channel_mapper_table.h.


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