Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
channel_defs.h File Reference

Channel layout, order, and positions. More...

#include "roc_core/stddefs.h"
Include dependency graph for channel_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 roc
 Root namespace.
 
 roc::audio
 Audio frames and audio processing.
 

Typedefs

typedef uint32_t roc::audio::ChannelMask
 Channel mask. More...
 

Enumerations

enum  roc::audio::ChannelLayout { roc::audio::ChanLayout_None , roc::audio::ChanLayout_Surround , roc::audio::ChanLayout_Multitrack }
 Channel layout. Defines meaning of channels in ChannelSet. ChannelMapper uses channel layout to decide how to perform mapping. More...
 
enum  roc::audio::ChannelOrder { roc::audio::ChanOrder_None , roc::audio::ChanOrder_Smpte , roc::audio::ChanOrder_Alsa , roc::audio::ChanOrder_Max }
 Surround channel order. More...
 
enum  roc::audio::ChannelPosition {
  roc::audio::ChanPos_FrontLeft , roc::audio::ChanPos_FrontLeftOfCenter , roc::audio::ChanPos_FrontCenter , roc::audio::ChanPos_FrontRightOfCenter ,
  roc::audio::ChanPos_FrontRight , roc::audio::ChanPos_SideLeft , roc::audio::ChanPos_SideRight , roc::audio::ChanPos_BackLeft ,
  roc::audio::ChanPos_BackCenter , roc::audio::ChanPos_BackRight , roc::audio::ChanPos_TopFrontLeft , roc::audio::ChanPos_TopFrontRight ,
  roc::audio::ChanPos_TopMidLeft , roc::audio::ChanPos_TopMidRight , roc::audio::ChanPos_TopBackLeft , roc::audio::ChanPos_TopBackRight ,
  roc::audio::ChanPos_LowFrequency , roc::audio::ChanPos_Max
}
 Surround channel position. More...
 

Functions

const char * roc::audio::channel_layout_to_str (ChannelLayout)
 Get string name of channel layout. More...
 
const char * roc::audio::channel_order_to_str (ChannelOrder)
 Get string name of channel order. More...
 
const char * roc::audio::channel_pos_to_str (ChannelPosition)
 Get string name from channel position. More...
 
const char * roc::audio::channel_mask_to_str (ChannelMask)
 Get string name from channel mask. More...
 

Detailed Description

Channel layout, order, and positions.

Definition in file channel_defs.h.