Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cExternalAudio Class Reference

#include <audio.h>

Inheritance diagram for cExternalAudio:

Inheritance graph
[legend]
Collaboration diagram for cExternalAudio:

Collaboration graph
[legend]

Detailed Description

??? interface for external audio functions

Definition at line 55 of file audio.h.

Public Methods

 cExternalAudio (const char *Command)
virtual ~cExternalAudio ()
virtual void Play (const uchar *Data, int Length)
virtual void Mute (bool On)
virtual void Clear (void)

Private Attributes

char * command
cPipe pipe
bool mute


Constructor & Destructor Documentation

cExternalAudio::cExternalAudio const char *    Command
 

Definition at line 48 of file audio.c.

References command, and mute.

cExternalAudio::~cExternalAudio   [virtual]
 

Definition at line 54 of file audio.c.


Member Function Documentation

void cExternalAudio::Clear void    [virtual]
 

Clears all data that might still be awaiting processing.

Implements cAudio.

Definition at line 95 of file audio.c.

References cPipe::Close(), and pipe.

Referenced by Mute().

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 88 of file audio.c.

References Clear(), and mute.

void cExternalAudio::Play 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 PES audio packet.

Implements cAudio.

Definition at line 59 of file audio.c.

References command, esyslog, LOG_ERROR, mute, cPipe::Open(), and pipe.


Field Documentation

char* cExternalAudio::command [private]
 

Definition at line 57 of file audio.h.

Referenced by cExternalAudio(), and Play().

bool cExternalAudio::mute [private]
 

Definition at line 59 of file audio.h.

Referenced by cExternalAudio(), Mute(), and Play().

cPipe cExternalAudio::pipe [private]
 

Definition at line 58 of file audio.h.

Referenced by Clear(), and Play().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:13 2003 for VDR by doxygen1.3-rc2