sound.chat
Class AudioBase
java.lang.Object
sound.chat.AudioBase
- All Implemented Interfaces:
- java.util.EventListener, javax.sound.sampled.LineListener
- Direct Known Subclasses:
- AudioCapture, AudioPlayback
public abstract class AudioBase
- extends java.lang.Object
- implements javax.sound.sampled.LineListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
update
public void update(javax.sound.sampled.LineEvent event)
- Specified by:
update
in interface javax.sound.sampled.LineListener
open
public void open()
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
close
public void close()
close
public void close(boolean willReopen)
isStarted
public boolean isStarted()
isOpen
public boolean isOpen()
getBufferSize
public int getBufferSize()
getBufferSizeMillis
public int getBufferSizeMillis()
setBufferSizeMillis
public void setBufferSizeMillis(int bufferSizeMillis)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFormatCode
public int getFormatCode()
setFormatCode
public void setFormatCode(int formatCode)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMixer
public void setMixer(javax.sound.sampled.Mixer mixer)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMuted
public void setMuted(boolean muted)
isMuted
public boolean isMuted()
getLevel
public int getLevel()