public class JavaSoundClipImpl extends AbstractSCAudioClip
audioNotifier, sync, uri| Constructor and Description |
|---|
JavaSoundClipImpl(String uri,
AudioNotifierService audioNotifier)
Initializes a new JavaSoundClipImpl instance which is to play
audio stored at a specific URL using
java.applet.AudioClip.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalStop()
Stops this audio without setting the isLooping property in the case of
a looping audio.
|
protected boolean |
runOnceInPlayThread()
Plays this audio once.
|
enterRunInPlayThread, enterRunOnceInPlayThread, exitRunInPlayThread, exitRunOnceInPlayThread, getLoopInterval, isInvalid, isLooping, isStarted, play, play, setInvalid, setLooping, setLoopInterval, stoppublic JavaSoundClipImpl(String uri, AudioNotifierService audioNotifier) throws IOException
uri - the URL at which the audio is stored and which the
new instance is to loadaudioNotifier - the AudioNotifierService which is
initializing the new instance and whose mute property/state is
to be monitored by the new instanceIOException - if a java.applet.AudioClip could not be
initialized or the audio at the specified url could not be readprotected void internalStop()
internalStop in class AbstractSCAudioClipprotected boolean runOnceInPlayThread()
runOnceInPlayThread in class AbstractSCAudioClipCopyright © 2022 jitsi.org. All rights reserved.