#include <audio.h>
|
| | cExternalAudio (const char *Command) |
| |
| virtual | ~cExternalAudio () |
| |
| virtual void | Play (const uchar *Data, int Length, uchar Id) |
| |
| virtual void | PlayTs (const uchar *Data, int Length) |
| |
| virtual void | Mute (bool On) |
| |
| virtual void | Clear (void) |
| |
| | cExternalAudio (const char *Command) |
| |
| virtual | ~cExternalAudio () |
| |
| virtual void | Play (const uchar *Data, int Length, uchar Id) |
| |
| virtual void | PlayTs (const uchar *Data, int Length) |
| |
| virtual void | Mute (bool On) |
| |
| virtual void | Clear (void) |
| |
| 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 |
| |
| | 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 |
| |
| cListObject * | Prev (void) const |
| |
| cListObject * | Next (void) const |
| |
| | 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 |
| |
| cListObject * | Prev (void) const |
| |
| cListObject * | Next (void) const |
| |
Definition at line 49 of file audio.h.
◆ cExternalAudio() [1/2]
| cExternalAudio::cExternalAudio |
( |
const char * |
Command | ) |
|
◆ ~cExternalAudio() [1/2]
| cExternalAudio::~cExternalAudio |
( |
| ) |
|
|
virtual |
◆ cExternalAudio() [2/2]
| cExternalAudio::cExternalAudio |
( |
const char * |
Command | ) |
|
◆ ~cExternalAudio() [2/2]
| virtual cExternalAudio::~cExternalAudio |
( |
| ) |
|
|
virtual |
◆ Clear() [1/2]
| void cExternalAudio::Clear |
( |
void |
| ) |
|
|
virtual |
◆ Clear() [2/2]
| virtual void cExternalAudio::Clear |
( |
void |
| ) |
|
|
virtual |
Clears all data that might still be awaiting processing.
Implements cAudio.
◆ Mute() [1/2]
| void cExternalAudio::Mute |
( |
bool |
On | ) |
|
|
virtual |
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
Implements cAudio.
Definition at line 118 of file audio.c.
References Clear(), and mute.
◆ Mute() [2/2]
| virtual void cExternalAudio::Mute |
( |
bool |
On | ) |
|
|
virtual |
Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).
Implements cAudio.
◆ Play() [1/2]
| void cExternalAudio::Play |
( |
const uchar * |
Data, |
|
|
int |
Length, |
|
|
uchar |
Id |
|
) |
| |
|
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.
Implements cAudio.
Definition at line 67 of file audio.c.
References command, esyslog, LOG_ERROR, mute, cPipe::Open(), and pipe.
◆ Play() [2/2]
| virtual void cExternalAudio::Play |
( |
const uchar * |
Data, |
|
|
int |
Length, |
|
|
uchar |
Id |
|
) |
| |
|
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.
Implements cAudio.
◆ PlayTs() [1/2]
| void cExternalAudio::PlayTs |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
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.
Implements cAudio.
Definition at line 95 of file audio.c.
References command, esyslog, LOG_ERROR, mute, cPipe::Open(), and pipe.
◆ PlayTs() [2/2]
| virtual void cExternalAudio::PlayTs |
( |
const uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
|
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.
Implements cAudio.
◆ command
| char * cExternalAudio::command |
|
private |
◆ mute
| bool cExternalAudio::mute |
|
private |
◆ pipe
| cPipe cExternalAudio::pipe |
|
private |
The documentation for this class was generated from the following files: