32 virtual void Mute(
bool On) = 0;
57 virtual void Play(
const uchar *Data,
int Length,
uchar Id)
override;
58 virtual void PlayTs(
const uchar *Data,
int Length)
override;
59 virtual void Mute(
bool On)
override;
60 virtual void Clear(
void)
override;
virtual void PlayTs(const uchar *Data, int Length)=0
Plays the given block of audio Data.
virtual void Clear(void)=0
Clears all data that might still be awaiting processing.
virtual void Play(const uchar *Data, int Length, uchar Id)=0
Plays the given block of audio Data.
virtual ~cAudio() override
virtual void Mute(bool On)=0
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
void PlayAudio(const uchar *Data, int Length, uchar Id)
void PlayTsAudio(const uchar *Data, int Length)
virtual void Play(const uchar *Data, int Length, uchar Id) override
Plays the given block of audio Data.
virtual void Clear(void) override
Clears all data that might still be awaiting processing.
virtual void Mute(bool On) override
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
virtual ~cExternalAudio() override
cExternalAudio(const char *Command)
virtual void PlayTs(const uchar *Data, int Length) override
Plays the given block of audio Data.