Go to the documentation of this file.
31 for (
cAudio *audio = First(); audio; audio =
Next(audio))
32 audio->Play(Data, Length, Id);
37 for (
cAudio *audio = First(); audio; audio =
Next(audio))
38 audio->PlayTs(Data, Length);
43 for (
cAudio *audio = First(); audio; audio =
Next(audio))
49 for (
cAudio *audio = First(); audio; audio =
Next(audio))
71 if (0x80 <= Id && Id <= 0x87 || Id == 0xBD) {
72 int written = Data[8] + 9;
77 int w = fwrite(Data + written, 1, Length,
pipe);
101 int w = fwrite(Data + written, 1, Length,
pipe);
void PlayTsAudio(const uchar *Data, int Length)
virtual void Mute(bool On)
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
static void SetTransferModeForDolbyDigital(int Mode)
void Add(cListObject *Object, cListObject *After=NULL)
virtual void Clear(void)
Clears all data that might still be awaiting processing.
bool Open(const char *Command, const char *Mode)
cExternalAudio(const char *Command)
void PlayAudio(const uchar *Data, int Length, uchar Id)
const cAudio * Next(const cAudio *Object) const
< Returns the element immediately before Object in this list, or NULL if Object is the first element ...
virtual void Play(const uchar *Data, int Length, uchar Id)
Plays the given block of audio Data.
virtual ~cExternalAudio()
virtual void PlayTs(const uchar *Data, int Length)
Plays the given block of audio Data.