vdr
1.7.27
|
#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 |
Protected Member Functions | |
cAudio (void) | |
cAudio (void) |
cAudio::cAudio | ( | void | ) | [protected] |
Definition at line 16 of file audio.c.
References cListBase::Add(), and Audios.
cAudio::~cAudio | ( | ) | [virtual] |
cAudio::cAudio | ( | void | ) | [protected] |
virtual cAudio::~cAudio | ( | ) | [virtual] |
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.