Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech
interface AudioManager
Files: GNOME_Speech.idl
GNOME-Speech-AudioManager-inheritance GNOME-Speech-SpeechObject.html Bonobo-Unknown.html

The AudioManager is provided by a speech Engine - a Recognizer or Synthesizer - to allow an application to control audio input/output and to monitor audio-related events. The AudioManager for an engine is obtained by calling its getAudioManager method.

See Also:
Engine#getAudioManager


Operations Summary:
 voidaddAudioListener(in AudioListener listener)
 voidremoveAudioListener(in AudioListener listener)

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void addAudioListener(in AudioListener listener)

Request notifications of audio events to an AudioListener. An application can attach multiple audio listeners to an AudioManager. If the engine is a Recognizer, a RecognizerAudioListener may be attached since the RecognizerAudioListener interface extends the AudioListener interface.

Parameters:
listener - the audio listener to add.
See Also:
AudioListener
::GNOME::Speech::Recognition::RecognizerAudioListener


 void removeAudioListener(in AudioListener listener)

Remove an audio listener from this AudioManager.

Parameters:
listener - the audio listener to remove.