MythTV  master
Macros | Typedefs | Variables
audiooutputdownmix.cpp File Reference
#include "audiooutputbase.h"
#include "audiooutputdownmix.h"
#include <cstring>
Include dependency graph for audiooutputdownmix.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("Downmixer: ")
 

Typedefs

using two_speaker_ratio = std::array< float, 2 >
 
using two_speaker_set = std::array< two_speaker_ratio, 8 >
 
using six_speaker_ratio = std::array< float, 6 >
 
using six_speaker_set = std::array< six_speaker_ratio, 8 >
 

Variables

static const float m6db = 0.5
 
static const float m3db = 0.7071067811865476F
 
static const float mm3db = -0.7071067811865476F
 
static const float msqrt_1_3 = -0.577350269189626F
 
static const float sqrt_2_3 = 0.816496580927726F
 
static const float sqrt_2_3by3db = 0.577350269189626F
 
static const float msqrt_1_3bym3db = 0.408248290463863F
 
static const std::array< two_speaker_set, 8 > stereo_matrix
 
static const std::array< six_speaker_set, 3 > s51_matrix
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("Downmixer: ")

Definition at line 25 of file audiooutputdownmix.cpp.

Typedef Documentation

◆ two_speaker_ratio

using two_speaker_ratio = std::array<float,2>

Definition at line 56 of file audiooutputdownmix.cpp.

◆ two_speaker_set

using two_speaker_set = std::array<two_speaker_ratio,8>

Definition at line 57 of file audiooutputdownmix.cpp.

◆ six_speaker_ratio

using six_speaker_ratio = std::array<float,6>

Definition at line 129 of file audiooutputdownmix.cpp.

◆ six_speaker_set

using six_speaker_set = std::array<six_speaker_ratio,8>

Definition at line 130 of file audiooutputdownmix.cpp.

Variable Documentation

◆ m6db

const float m6db = 0.5
static

Definition at line 48 of file audiooutputdownmix.cpp.

◆ m3db

const float m3db = 0.7071067811865476F
static

Definition at line 49 of file audiooutputdownmix.cpp.

◆ mm3db

const float mm3db = -0.7071067811865476F
static

Definition at line 50 of file audiooutputdownmix.cpp.

◆ msqrt_1_3

const float msqrt_1_3 = -0.577350269189626F
static

Definition at line 51 of file audiooutputdownmix.cpp.

◆ sqrt_2_3

const float sqrt_2_3 = 0.816496580927726F
static

Definition at line 52 of file audiooutputdownmix.cpp.

◆ sqrt_2_3by3db

const float sqrt_2_3by3db = 0.577350269189626F
static

Definition at line 53 of file audiooutputdownmix.cpp.

◆ msqrt_1_3bym3db

const float msqrt_1_3bym3db = 0.408248290463863F
static

Definition at line 54 of file audiooutputdownmix.cpp.

◆ stereo_matrix

const std::array<two_speaker_set,8> stereo_matrix
static

Definition at line 58 of file audiooutputdownmix.cpp.

Referenced by AudioOutputDownmix::DownmixFrames().

◆ s51_matrix

const std::array<six_speaker_set,3> s51_matrix
static

Definition at line 131 of file audiooutputdownmix.cpp.

Referenced by AudioOutputDownmix::DownmixFrames().