cAudio Class Reference

#include <audio.h>

Inheritance diagram for cAudio:

Inheritance graph
[legend]
Collaboration diagram for cAudio:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~cAudio ()
virtual void Play (const uchar *Data, int Length, uchar Id)=0
virtual void Mute (bool On)=0
virtual void Clear (void)=0
 Clears all data that might still be awaiting processing.

Protected Member Functions

 cAudio (void)


Detailed Description

Definition at line 16 of file audio.h.


Constructor & Destructor Documentation

cAudio::cAudio ( void   )  [protected]

Definition at line 16 of file audio.c.

References cListBase::Add(), and Audios.

Here is the call graph for this function:

cAudio::~cAudio (  )  [virtual]

Definition at line 21 of file audio.c.


Member Function Documentation

virtual void cAudio::Play ( const uchar Data,
int  Length,
uchar  Id 
) [pure virtual]

Plays the given block of audio Data. Must return as soon as possible. If the entire block of data can't be processed immediately, it must be copied and processed in a separate thread. The Data is always a complete PES audio packet. Id indicates the type of audio data this packet holds.

Implemented in cExternalAudio.

virtual void cAudio::Mute ( bool  On  )  [pure virtual]

Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).

Implemented in cExternalAudio.

virtual void cAudio::Clear ( void   )  [pure virtual]

Clears all data that might still be awaiting processing.

Implemented in cExternalAudio.


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:04:31 2007 for VDR by  doxygen 1.5.3-20071008