MythTV  0.26-pre
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
PulseHandler Class Reference

#include <audiopulsehandler.h>

List of all members.

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_ctx_state
pa_context * m_ctx
int m_pending_operations

Static Public Attributes

static PulseHandlerg_pulseHandler = NULL
static bool g_pulseHandlerActive = false

Private Member Functions

 PulseHandler (void)
bool Init (void)
bool SuspendInternal (bool suspend)

Private Attributes

pa_mainloop * m_loop
bool m_initialised
bool m_valid
QThread * m_thread

Detailed Description

Definition at line 8 of file audiopulsehandler.h.


Member Enumeration Documentation

Enumerator:
kPulseSuspend 
kPulseResume 
kPulseCleanup 

Definition at line 11 of file audiopulsehandler.h.


Constructor & Destructor Documentation

Definition at line 178 of file audiopulsehandler.cpp.

Definition at line 171 of file audiopulsehandler.cpp.

Referenced by Suspend().


Member Function Documentation

bool PulseHandler::Suspend ( enum PulseAction  action) [static]

Definition at line 198 of file audiopulsehandler.cpp.

Referenced by Suspend().

bool PulseHandler::Init ( void  ) [private]

Definition at line 208 of file audiopulsehandler.cpp.

Referenced by SuspendInternal().

bool PulseHandler::SuspendInternal ( bool  suspend) [private]

Definition at line 269 of file audiopulsehandler.cpp.

Referenced by Suspend().


Member Data Documentation

Definition at line 19 of file audiopulsehandler.h.

Referenced by Suspend().

Definition at line 20 of file audiopulsehandler.h.

Referenced by OperationCallback(), StatusCallback(), and Suspend().

pa_context_state PulseHandler::m_ctx_state

Definition at line 25 of file audiopulsehandler.h.

Referenced by Init(), StatusCallback(), and Valid().

pa_context* PulseHandler::m_ctx

Definition at line 27 of file audiopulsehandler.h.

Referenced by OperationCallback(), and SuspendInternal().

pa_mainloop* PulseHandler::m_loop [private]

Definition at line 34 of file audiopulsehandler.h.

Referenced by Init(), SuspendInternal(), and ~PulseHandler().

Definition at line 35 of file audiopulsehandler.h.

Referenced by Init(), and Valid().

Definition at line 36 of file audiopulsehandler.h.

Referenced by Init(), and Valid().

QThread* PulseHandler::m_thread [private]

Definition at line 37 of file audiopulsehandler.h.

Referenced by Init(), and SuspendInternal().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends