32 audio->Play(Data, Length, Id);
38 audio->PlayTs(Data, Length);
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 Add(cListObject *Object, cListObject *After=NULL)
void PlayAudio(const uchar *Data, int Length, uchar Id)
virtual void Clear(void)
Clears all data that might still be awaiting processing.
virtual void PlayTs(const uchar *Data, int Length)
Plays the given block of audio Data.
virtual void Mute(bool On)
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
virtual void Play(const uchar *Data, int Length, uchar Id)
Plays the given block of audio Data.
virtual ~cExternalAudio()
cAudio * Next(const cAudio *object) const
bool Open(const char *Command, const char *Mode)
cExternalAudio(const char *Command)
cAudio * First(void) const
void PlayTsAudio(const uchar *Data, int Length)
static void SetTransferModeForDolbyDigital(int Mode)