vdr 2.7.7
cAudio Class Referenceabstract

#include <audio.h>

Public Member Functions

virtual ~cAudio () override
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

Protected Member Functions

 cAudio (void)

Detailed Description

Definition at line 16 of file audio.h.

Constructor & Destructor Documentation

◆ cAudio()

cAudio::cAudio ( void )
protected

Definition at line 16 of file audio.c.

References Audios.

◆ ~cAudio()

cAudio::~cAudio ( )
overridevirtual

Definition at line 21 of file audio.c.

Member Function Documentation

◆ Clear()

virtual void cAudio::Clear ( void )
pure virtual

Clears all data that might still be awaiting processing.

Implemented in cExternalAudio.

◆ Mute()

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.

◆ Play()

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.

◆ PlayTs()

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.


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