MythTV  master
Macros | Functions
audiooutpututil.cpp File Reference
#include <cinttypes>
#include <cmath>
#include <sys/types.h>
#include "mythconfig.h"
#include "mythlogging.h"
#include "audiooutpututil.h"
#include "audioconvert.h"
#include "bswap.h"
#include "libmythtv/mythavutil.h"
#include "libavcodec/avcodec.h"
#include "pink.h"
Include dependency graph for audiooutpututil.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("AOUtil: ")
 
#define ISALIGN(x)   (((unsigned long)(x) & 0xf) == 0)
 
#define LE_SHORT(v)   (v)
 
#define LE_INT(v)   (v)
 

Functions

template<class AudioDataType >
void _MuteChannel (AudioDataType *buffer, int channels, int ch, int frames)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("AOUtil: ")

Definition at line 17 of file audiooutpututil.cpp.

◆ ISALIGN

#define ISALIGN (   x)    (((unsigned long)(x) & 0xf) == 0)

Definition at line 19 of file audiooutpututil.cpp.

◆ LE_SHORT

#define LE_SHORT (   v)    (v)

Definition at line 195 of file audiooutpututil.cpp.

◆ LE_INT

#define LE_INT (   v)    (v)

Definition at line 196 of file audiooutpututil.cpp.

Function Documentation

◆ _MuteChannel()

template<class AudioDataType >
void _MuteChannel ( AudioDataType *  buffer,
int  channels,
int  ch,
int  frames 
)

Definition at line 159 of file audiooutpututil.cpp.

Referenced by AudioOutputUtil::MuteChannel().