|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.notify.SCAudioClipImpl
net.java.sip.communicator.impl.media.notify.PortAudioClipImpl
public class PortAudioClipImpl
Implementation of SCAudioClip using PortAudio.
| Constructor Summary | |
|---|---|
PortAudioClipImpl(URL url,
AudioNotifierServiceImpl audioNotifier)
Creates the audio clip and initialize the listener used from the loop timer. |
|
| Method Summary | |
|---|---|
void |
internalStop()
Stops this audio without setting the isLooping property in the case of a looping audio. |
void |
play()
Plays this audio. |
void |
playInLoop(int interval)
Plays this audio in loop. |
void |
stop()
Stops this audio. |
| Methods inherited from class net.java.sip.communicator.impl.media.notify.SCAudioClipImpl |
|---|
getLoopInterval, isInvalid, isLooping, setInvalid, setIsInvalid, setIsLooping, setLoopInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortAudioClipImpl(URL url,
AudioNotifierServiceImpl audioNotifier)
throws IOException
url - the url pointing to the audio fileaudioNotifier - the audio notify service
IOException - cannot audio clip with supplied url.| Method Detail |
|---|
public void play()
public void playInLoop(int interval)
interval - the loop intervalpublic void stop()
public void internalStop()
internalStop in class SCAudioClipImpl
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||