uk.org.toot.audio.server
Class JavaSoundAudioServer.JavaSoundAudioLine
java.lang.Object
uk.org.toot.audio.server.JavaSoundAudioServer.JavaSoundAudioLine
- All Implemented Interfaces:
- uk.org.toot.audio.core.AudioProcess, AudioLine, AudioSyncLine, uk.org.toot.audio.server.IOAudioProcess
- Direct Known Subclasses:
- JavaSoundAudioServer.JavaSoundAudioInput, JavaSoundAudioServer.JavaSoundAudioOutput
- Enclosing class:
- JavaSoundAudioServer
protected abstract class JavaSoundAudioServer.JavaSoundAudioLine
- extends java.lang.Object
- implements AudioLine
Field Summary |
protected uk.org.toot.audio.core.ChannelFormat |
channelFormat
|
protected javax.sound.sampled.AudioFormat |
format
|
protected java.lang.String |
label
|
protected int |
latencyFrames
|
protected javax.sound.sampled.Mixer.Info |
mixerInfo
|
Fields inherited from interface uk.org.toot.audio.core.AudioProcess |
AUDIO_DISCONNECT, AUDIO_OK |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface uk.org.toot.audio.core.AudioProcess |
close, open, processAudio |
format
protected javax.sound.sampled.AudioFormat format
mixerInfo
protected javax.sound.sampled.Mixer.Info mixerInfo
label
protected java.lang.String label
latencyFrames
protected int latencyFrames
channelFormat
protected uk.org.toot.audio.core.ChannelFormat channelFormat
JavaSoundAudioServer.JavaSoundAudioLine
public JavaSoundAudioServer.JavaSoundAudioLine(javax.sound.sampled.AudioFormat format,
javax.sound.sampled.Mixer.Info info,
java.lang.String label)
getName
public java.lang.String getName()
- Specified by:
getName
in interface uk.org.toot.audio.server.IOAudioProcess
getChannelFormat
public uk.org.toot.audio.core.ChannelFormat getChannelFormat()
- Specified by:
getChannelFormat
in interface uk.org.toot.audio.server.IOAudioProcess
getLatencyFrames
public int getLatencyFrames()
- Specified by:
getLatencyFrames
in interface AudioSyncLine
start
public abstract void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public abstract void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
isActive
public abstract boolean isActive()