vdr-plugin-softhddevice-drm-gles 1.6.2
audio.cpp File Reference

Audio and Alsa Interface. More...

#include <chrono>
#include <cmath>
#include <cstdint>
#include <mutex>
#include <vector>
#include <alsa/asoundlib.h>
#include <libavcodec/avcodec.h>
#include <libavfilter/avfilter.h>
#include <libavfilter/buffersink.h>
#include <libavfilter/buffersrc.h>
#include <libavutil/channel_layout.h>
#include <libavutil/opt.h>
#include <vdr/thread.h>
#include "audio.h"
#include "codec_audio.h"
#include "config.h"
#include "event.h"
#include "filllevel.h"
#include "logger.h"
#include "misc.h"
#include "pidcontroller.h"
#include "ringbuffer.h"
#include "softhddevice.h"

Go to the source code of this file.

Functions

static void ReorderAudioFrame (uint16_t *buf, int size, int channels)
 Reorder audio frame.
 
static void AlsaNoopCallback (__attribute__((unused)) const char *file, __attribute__((unused)) int line, __attribute__((unused)) const char *function, __attribute__((unused)) int err, __attribute__((unused)) const char *fmt,...)
 Empty log callback.
 

Detailed Description

Audio and Alsa Interface.

cSoftHdAudio handles everything audio related except the decoding itself (see cAudioDecoder).

Definition in file audio.cpp.