audio Namespace Reference

Classes

class  double_t
 
class  float_t
 
class  int16_16_t
 
class  int16_32_t
 
class  int24_24_t
 
class  int24_32_t
 
class  int32_32_t
 
class  int32_64_t
 
class  int64_64_t
 
class  int8_16_t
 
class  int8_8_t
 

Typedefs

using Duration = echrono::Duration
 
using Time = echrono::Steady
 

Enumerations

enum  channel {
  channel_unknow, channel_frontLeft, channel_frontCenter, channel_frontRight,
  channel_rearLeft, channel_rearCenter, channel_rearRight, channel_centerLeft,
  channel_centerRight, channel_topFrontLeft, channel_topFrontCenter, channel_topFrontRight,
  channel_topRearLeft, channel_topRearCenter, channel_topRearRight, channel_topCenterLeft,
  channel_topCenterRight, channel_lfe, channel_aux0, channel_aux1,
  channel_aux2, channel_aux3, channel_aux4, channel_aux5,
  channel_aux6, channel_aux7, channel_aux8, channel_aux9,
  channel_aux10, channel_aux11, channel_aux12, channel_aux13,
  channel_aux14, channel_aux15, channel_aux16, channel_aux17,
  channel_aux18, channel_aux19, channel_aux20, channel_aux21,
  channel_aux22, channel_aux23, channel_aux24, channel_aux25,
  channel_aux26, channel_aux27, channel_aux28, channel_aux29,
  channel_aux30, channel_aux31
}
 
enum  format {
  format_unknow, format_int8, format_int8_on_int16, format_int16,
  format_int16_on_int32, format_int24, format_int24_on_int32, format_int32,
  format_int32_on_int64, format_int64, format_float, format_double
}
 

Functions

std::string getChannelString (enum audio::channel _obj)
 
std::string getChannelString (const std::vector< enum audio::channel > &_obj)
 
enum audio::channel getChannelFromString (const std::string &_value)
 
std::vector< enum audio::channelgetListChannelFromString (const std::string &_value)
 
std::vector< uint8_t > convertChannel (const std::vector< enum audio::channel > &_obj)
 
std::vector< enum audio::channelconvertChannel (const std::vector< uint8_t > &_obj)
 
std::string getFormatString (enum audio::format _format)
 
enum audio::format getFormatFromString (const std::string &_value)
 
std::vector< enum audio::formatgetListFormatFromString (const std::string &_value)
 
uint32_t getFormatBytes (enum audio::format _format)
 
std::vector< uint8_t > convertFormat (const std::vector< enum audio::format > &_obj)
 
std::vector< enum audio::formatconvertFormat (const std::vector< uint8_t > &_obj)
 
uint8_t convertFormat (enum audio::format _obj)
 
enum audio::format convertFormat (uint8_t _obj)
 

Detailed Description

Audio library namespace.

Enumeration Type Documentation

§ channel

Enumerator
channel_unknow 

Error channel ...

channel_frontLeft 

channel Front Left

channel_frontCenter 

channel Front Center

channel_frontRight 

channel Front Right

channel_rearLeft 

channel rear Left

channel_rearCenter 

channel rear Center

channel_rearRight 

channel rear Right

channel_centerLeft 

channel center Left

channel_centerRight 

channel center Right

channel_topFrontLeft 

channel top front left

channel_topFrontCenter 

channel top front center

channel_topFrontRight 

channel top front right

channel_topRearLeft 

channel top rear left

channel_topRearCenter 

channel top rear center

channel_topRearRight 

channel top rear Right

channel_topCenterLeft 

channel top center left

channel_topCenterRight 

channel top center right

channel_lfe 

channel Low frequency

§ format

Enumerator
format_int8 

Signed 8 bits.

format_int8_on_int16 

Signed 8 bits on 16 bits data (8 bit fixpoint value)

format_int16 

Signed 16 bits.

format_int16_on_int32 

Signed 16 bits on 32 bits data (16 bit fixpoint value)

format_int24 

Signed 24 bits on 24 bits (lower)

format_int24_on_int32 

Signed 24 bits on 32 bits (lower)

format_int32 

Signed 32 bits.

format_int32_on_int64 

Signed 32 bits on 64 bits data (32 bit fixpoint value)

format_int64 

Signed 64 bits.

format_float 

Floating point 32 bits (single precision)

format_double 

Floating point 64 bits (double precision)