MythTV  master
Macros | Functions
audiopulsehandler.cpp File Reference
#include <QMutexLocker>
#include <QString>
#include <QMutex>
#include <QTime>
#include <unistd.h>
#include "audiopulsehandler.h"
#include "mythmiscutil.h"
#include "mythlogging.h"
#include "mthread.h"
Include dependency graph for audiopulsehandler.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("Pulse: ")
 
#define IS_READY(arg)
 

Functions

static QString state_to_string (pa_context_state state)
 
static void StatusCallback (pa_context *ctx, void *userdata)
 
static void OperationCallback (pa_context *ctx, int success, void *userdata)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("Pulse: ")

Definition at line 13 of file audiopulsehandler.cpp.

◆ IS_READY

#define IS_READY (   arg)
Value:
((PA_CONTEXT_READY == (arg)) || \
(PA_CONTEXT_FAILED == (arg)) || \
(PA_CONTEXT_TERMINATED == (arg)))

Definition at line 15 of file audiopulsehandler.cpp.

Function Documentation

◆ state_to_string()

static QString state_to_string ( pa_context_state  state)
static

Definition at line 19 of file audiopulsehandler.cpp.

Referenced by StatusCallback().

◆ StatusCallback()

static void StatusCallback ( pa_context *  ctx,
void *  userdata 
)
static

Definition at line 120 of file audiopulsehandler.cpp.

Referenced by PulseHandler::Init().

◆ OperationCallback()

static void OperationCallback ( pa_context *  ctx,
int  success,
void *  userdata 
)
static

Definition at line 156 of file audiopulsehandler.cpp.

Referenced by PulseHandler::SuspendInternal().