Package com.sun.speech.engine
Class BaseAudioManager
- java.lang.Object
-
- com.sun.speech.engine.BaseAudioManager
-
public class BaseAudioManager extends java.lang.ObjectSupports the JSAPI 1.0AudioManagerinterface. Actual JSAPI implementations might want to extend or modify this implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.CollectionlistenersList ofAudioListenersregistered forAudioEventson this object.
-
Constructor Summary
Constructors Constructor Description BaseAudioManager()Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAudioListener(AudioListener listener)Requests notification ofAudioEventsfrom theAudioManager.voidremoveAudioListener(AudioListener listener)Removes anAudioListenerfrom the list ofAudioListeners.
-
-
-
Method Detail
-
addAudioListener
public void addAudioListener(AudioListener listener)
Requests notification ofAudioEventsfrom theAudioManager.- Parameters:
listener- the listener to add
-
removeAudioListener
public void removeAudioListener(AudioListener listener)
Removes anAudioListenerfrom the list ofAudioListeners.- Parameters:
listener- the listener to remove
-
-