Home

Dokumentation

Impressum

Dokumentation VDR
 

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

cAudio Class Reference

#include <audio.h>

Inheritance diagram for cAudio:

Inheritance graph
[legend]
Collaboration diagram for cAudio:

Collaboration graph
[legend]

Detailed Description

Basic audio functions.

audio.h: The basic audio interface

See the main source file 'vdr.c' for copyright information and how to reach the author.

Id
audio.h 1.2 2002/11/03 11:50:02 kls Exp

Definition at line 17 of file audio.h.

Public Methods

virtual ~cAudio ()
virtual void Play (const uchar *Data, int Length)=0
virtual void Mute (bool On)=0
virtual void Clear (void)=0

Protected Methods

 cAudio (void)


Constructor & Destructor Documentation

cAudio::cAudio void    [protected]
 

Definition at line 15 of file audio.c.

References cListBase::Add(), and Audios.

cAudio::~cAudio   [virtual]
 

Definition at line 20 of file audio.c.


Member Function Documentation

virtual void cAudio::Clear void    [pure virtual]
 

Clears all data that might still be awaiting processing.

Implemented in cExternalAudio.

Referenced by cAudios::ClearAudio().

virtual void cAudio::Mute bool    On [pure virtual]
 

Immediately sets the audio device to be silent (On==true) or to normal replay (On==false).

Implemented in cExternalAudio.

Referenced by cAudios::MuteAudio().

virtual void cAudio::Play const uchar   Data,
int    Length
[pure 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.

Implemented in cExternalAudio.

Referenced by cAudios::PlayAudio().


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