MythTV
master
|
#include <audiopulsehandler.h>
Public Types | |
enum | PulseAction { kPulseSuspend = 0, kPulseResume, kPulseCleanup } |
Public Member Functions | |
~PulseHandler (void) | |
bool | Valid (void) |
Static Public Member Functions | |
static bool | Suspend (enum PulseAction action) |
Public Attributes | |
pa_context_state | m_ctxState {PA_CONTEXT_UNCONNECTED} |
pa_context * | m_ctx {nullptr} |
int | m_pendingOperations {0} |
Static Public Attributes | |
static PulseHandler * | g_pulseHandler = nullptr |
static bool | g_pulseHandlerActive = false |
Private Member Functions | |
PulseHandler (void)=default | |
bool | Init (void) |
bool | SuspendInternal (bool suspend) |
Private Attributes | |
pa_mainloop * | m_loop {nullptr} |
bool | m_initialised {false} |
bool | m_valid {false} |
QThread * | m_thread {nullptr} |
Definition at line 8 of file audiopulsehandler.h.
Enumerator | |
---|---|
kPulseSuspend | |
kPulseResume | |
kPulseCleanup |
Definition at line 11 of file audiopulsehandler.h.
PulseHandler::~PulseHandler | ( | void | ) |
Definition at line 199 of file audiopulsehandler.cpp.
|
privatedefault |
Referenced by Suspend().
|
static |
Definition at line 42 of file audiopulsehandler.cpp.
Referenced by AudioOutput::Cleanup(), AudioOutput::GetOutputList(), and AudioOutput::~AudioOutput().
bool PulseHandler::Valid | ( | void | ) |
Definition at line 219 of file audiopulsehandler.cpp.
Referenced by Suspend().
|
private |
Definition at line 229 of file audiopulsehandler.cpp.
Referenced by SuspendInternal().
Definition at line 290 of file audiopulsehandler.cpp.
Referenced by Suspend().
|
static |
Definition at line 19 of file audiopulsehandler.h.
Referenced by OperationCallback(), StatusCallback(), and Suspend().
Definition at line 20 of file audiopulsehandler.h.
Referenced by OperationCallback(), StatusCallback(), and Suspend().
pa_context_state PulseHandler::m_ctxState {PA_CONTEXT_UNCONNECTED} |
Definition at line 25 of file audiopulsehandler.h.
pa_context* PulseHandler::m_ctx {nullptr} |
Definition at line 26 of file audiopulsehandler.h.
Referenced by Init(), SuspendInternal(), Valid(), and ~PulseHandler().
int PulseHandler::m_pendingOperations {0} |
Definition at line 27 of file audiopulsehandler.h.
Referenced by SuspendInternal().
|
private |
Definition at line 34 of file audiopulsehandler.h.
Referenced by Init(), SuspendInternal(), and ~PulseHandler().
Definition at line 35 of file audiopulsehandler.h.
Definition at line 36 of file audiopulsehandler.h.
|
private |
Definition at line 37 of file audiopulsehandler.h.
Referenced by Init(), and SuspendInternal().