MythTV  master
Macros | Functions
audiooutput_omx.cpp File Reference
#include "audiooutput_omx.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <vector>
#include <OMX_Core.h>
#include <OMX_Audio.h>
#include "mythcorecontext.h"
#include "omxcontext.h"
Include dependency graph for audiooutput_omx.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("AOMX:%1 ").arg(m_audiorender.Id())
 
#define _STR(s)   #s
 
#define STR(s)   _STR(s)
 
#define CASE2STR(f)   case f: return STR(f)
 
#define AUDIO_RENDER   "audio_render"
 
#define AUDIO_DECODE   "audio_decode"
 
#define REORD_NUMCHAN   6
 
#define REORD_A   2
 
#define REORD_B   3
 

Functions

template<typename T >
static void SetupChannels (T &t)
 
static bool Format2Pcm (OMX_AUDIO_PARAM_PCMMODETYPE &pcm, AudioFormat afmt)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("AOMX:%1 ").arg(m_audiorender.Id())

Definition at line 25 of file audiooutput_omx.cpp.

◆ _STR

#define _STR (   s)    #s

Definition at line 28 of file audiooutput_omx.cpp.

◆ STR

#define STR (   s)    _STR(s)

Definition at line 29 of file audiooutput_omx.cpp.

◆ CASE2STR

#define CASE2STR (   f)    case f: return STR(f)

Definition at line 30 of file audiooutput_omx.cpp.

◆ AUDIO_RENDER

#define AUDIO_RENDER   "audio_render"

Definition at line 37 of file audiooutput_omx.cpp.

◆ AUDIO_DECODE

#define AUDIO_DECODE   "audio_decode"

Definition at line 38 of file audiooutput_omx.cpp.

◆ REORD_NUMCHAN

#define REORD_NUMCHAN   6

Definition at line 453 of file audiooutput_omx.cpp.

◆ REORD_A

#define REORD_A   2

Definition at line 454 of file audiooutput_omx.cpp.

◆ REORD_B

#define REORD_B   3

Definition at line 455 of file audiooutput_omx.cpp.

Function Documentation

◆ SetupChannels()

template<typename T >
static void SetupChannels ( T &  t)
inlinestatic

Definition at line 100 of file audiooutput_omx.cpp.

Referenced by AudioOutputOMX::OpenDevice().

◆ Format2Pcm()

static bool Format2Pcm ( OMX_AUDIO_PARAM_PCMMODETYPE &  pcm,
AudioFormat  afmt 
)
static