vdr  1.7.31
Public Member Functions | Protected Member Functions | List of all members
cAudio Class Reference

#include <audio.h>

Public Member Functions

virtual ~cAudio ()
virtual void Play (const uchar *Data, int Length, uchar Id)=0
virtual void PlayTs (const uchar *Data, int Length)=0
virtual void Mute (bool On)=0
virtual void Clear (void)=0
virtual ~cAudio ()
virtual void Play (const uchar *Data, int Length, uchar Id)=0
virtual void PlayTs (const uchar *Data, int Length)=0
virtual void Mute (bool On)=0
virtual void Clear (void)=0
- Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const
 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

Protected Member Functions

 cAudio (void)
 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.

cAudio::~cAudio ( )
virtual

Definition at line 21 of file audio.c.

cAudio::cAudio ( void  )
protected
virtual cAudio::~cAudio ( )
virtual

Member Function Documentation

virtual void cAudio::Clear ( void  )
pure virtual

Clears all data that might still be awaiting processing.

Implemented in cExternalAudio, and cExternalAudio.

virtual void cAudio::Clear ( void  )
pure virtual

Clears all data that might still be awaiting processing.

Implemented in cExternalAudio, and 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, and 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, and cExternalAudio.

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, and cExternalAudio.

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, and cExternalAudio.

virtual void cAudio::PlayTs ( const uchar Data,
int  Length 
)
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 TS audio packet.

Implemented in cExternalAudio, and cExternalAudio.

virtual void cAudio::PlayTs ( const uchar Data,
int  Length 
)
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 TS audio packet.

Implemented in cExternalAudio, and cExternalAudio.


The documentation for this class was generated from the following files: