vdr-plugin-softhddevice-drm-gles 1.6.7
codec_audio.cpp File Reference

Audio Decoder. More...

#include <cstdint>
#include <mutex>
#include <string>
#include <vector>
#include <unistd.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include "audio.h"
#include "codec_audio.h"
#include "logger.h"
#include "misc.h"

Go to the source code of this file.

Functions

static std::string GetPassthroughMaskString (int mask)
 Build a passthrough mask logging string.
 

Detailed Description

Audio Decoder.

This file defines cAudioDecoder, which has all the functions to decode audio data. It's the audio interface to ffmpeg.

Definition in file codec_audio.cpp.

Function Documentation

◆ GetPassthroughMaskString()

static std::string GetPassthroughMaskString ( int  mask)
static

Build a passthrough mask logging string.

Parameters
maskpassthrough bitmask
Returns
a string like " (passthrough mask: AC3 E-AC-3 DTS)"

Definition at line 40 of file codec_audio.cpp.

References CODEC_AC3, CODEC_DTS, and CODEC_EAC3.

Referenced by cAudioDecoder::cAudioDecoder(), cAudioDecoder::CheckUpdateFormat(), and cAudioDecoder::Open().