public class AudioSystemClipImpl extends AbstractSCAudioClip
audioNotifier, sync, uri| Constructor and Description |
|---|
AudioSystemClipImpl(String url,
AudioNotifierService audioNotifier,
AudioSystem audioSystem,
boolean playback)
Creates the audio clip and initializes the listener used from the
loop timer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
enterRunInPlayThread()
Notifies this instance that its execution in its background/separate
thread dedicated to the playback of this audio is about to start playing
this audio for the first time.
|
protected void |
exitRunInPlayThread()
Notifies this instance that its execution in its background/separate
thread dedicated to the playback of this audio is about to stop playing
this audio once.
|
protected void |
exitRunOnceInPlayThread()
Notifies this instance that its execution in its background/separate
thread dedicated to the playback of this audio is about to stop playing
this audio.
|
protected boolean |
runOnceInPlayThread()
Plays this audio once.
|
enterRunOnceInPlayThread, getLoopInterval, internalStop, isInvalid, isLooping, isStarted, play, play, setInvalid, setLooping, setLoopInterval, stoppublic AudioSystemClipImpl(String url, AudioNotifierService audioNotifier, AudioSystem audioSystem, boolean playback) throws IOException
url - the URL pointing to the audio fileaudioNotifier - the audio notify serviceplayback - to use playback or notification deviceIOException - cannot audio clip with supplied URL.protected void enterRunInPlayThread()
enterRunInPlayThread in class AbstractSCAudioClipprotected void exitRunInPlayThread()
exitRunInPlayThread in class AbstractSCAudioClipprotected void exitRunOnceInPlayThread()
exitRunOnceInPlayThread in class AbstractSCAudioClipprotected boolean runOnceInPlayThread()
runOnceInPlayThread in class AbstractSCAudioClipCopyright © 2022 jitsi.org. All rights reserved.