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

Defines multiplication matrix for two channel masks. More...

#include <channel_tables.h>

Collaboration diagram for roc::audio::ChannelMapTable:

Public Attributes

const char * name
 Table name. More...
 
ChannelMask in_mask
 Channel mask of input stream. More...
 
ChannelMask out_mask
 Channel mask of output stream. More...
 
ChannelMapRule rules [32]
 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 61 of file channel_tables.h.

Member Data Documentation

◆ in_mask

ChannelMask roc::audio::ChannelMapTable::in_mask

Channel mask of input stream.

Definition at line 66 of file channel_tables.h.

◆ name

const char* roc::audio::ChannelMapTable::name

Table name.

Definition at line 63 of file channel_tables.h.

◆ out_mask

ChannelMask roc::audio::ChannelMapTable::out_mask

Channel mask of output stream.

Definition at line 68 of file channel_tables.h.

◆ rules

ChannelMapRule roc::audio::ChannelMapTable::rules[32]

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

Definition at line 72 of file channel_tables.h.


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