OutputListeners Class Reference

#include <output.h>

Inheritance diagram for OutputListeners:
MythObservable AudioOutput AudioOutputBase AudioReencodeBuffer AudioOutputALSA AudioOutputCA AudioOutputDX AudioOutputJACK AudioOutputNULL AudioOutputOSS AudioOutputPulseAudio AudioOutputWin

List of all members.

Public Member Functions

 OutputListeners ()
virtual ~OutputListeners ()
bool hasVisual (void)
void addVisual (MythTV::Visual *)
void removeVisual (MythTV::Visual *)
QMutex * mutex ()
void setBufferSize (unsigned int sz)
unsigned int bufferSize () const

Protected Member Functions

void error (const QString &e)
void dispatchVisual (uchar *b, unsigned long b_len, unsigned long written, int chan, int prec)
void prepareVisuals ()

Private Attributes

QMutex mtx
Visuals visuals
unsigned int bufsize

Detailed Description

Definition at line 99 of file output.h.


Constructor & Destructor Documentation

OutputListeners::OutputListeners (  ) 

Definition at line 30 of file output.cpp.

OutputListeners::~OutputListeners (  )  [virtual]

Definition at line 36 of file output.cpp.


Member Function Documentation

bool OutputListeners::hasVisual ( void   )  [inline]

Definition at line 105 of file output.h.

Referenced by AudioOutputBase::AddData().

void OutputListeners::addVisual ( MythTV::Visual v  ) 
void OutputListeners::removeVisual ( MythTV::Visual v  ) 
QMutex* OutputListeners::mutex (  )  [inline]

Definition at line 109 of file output.h.

void OutputListeners::setBufferSize ( unsigned int  sz  )  [inline]

Definition at line 111 of file output.h.

Referenced by MusicPlayer::openOutputDevice().

unsigned int OutputListeners::bufferSize (  )  const [inline]

Definition at line 112 of file output.h.

void OutputListeners::error ( const QString &  e  )  [protected]
void OutputListeners::dispatchVisual ( uchar *  b,
unsigned long  b_len,
unsigned long  written,
int  chan,
int  prec 
) [protected]

Definition at line 61 of file output.cpp.

Referenced by AudioOutputBase::AddData().

void OutputListeners::prepareVisuals (  )  [protected]

Definition at line 75 of file output.cpp.

Referenced by AudioOutputBase::Reconfigure(), and AudioOutputBase::Reset().


Member Data Documentation

QMutex OutputListeners::mtx [private]

Definition at line 121 of file output.h.

Definition at line 122 of file output.h.

Referenced by addVisual(), dispatchVisual(), prepareVisuals(), and removeVisual().

unsigned int OutputListeners::bufsize [private]

Definition at line 124 of file output.h.

Referenced by OutputListeners().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:19 2012 for MythTV by  doxygen 1.6.3