sound.chat
Class AudioPlayback

java.lang.Object
  extended by sound.chat.AudioBase
      extended by sound.chat.AudioPlayback
All Implemented Interfaces:
java.util.EventListener, javax.sound.sampled.LineListener

public class AudioPlayback
extends AudioBase


Constructor Summary
AudioPlayback(int formatCode, javax.sound.sampled.Mixer mixer, int bufferSizeMillis)
           
 
Method Summary
 void setAudioInputStream(javax.sound.sampled.AudioInputStream ais)
           
 void start()
           
 
Methods inherited from class sound.chat.AudioBase
close, close, getBufferSize, getBufferSizeMillis, getFormatCode, getLevel, isMuted, isOpen, isStarted, open, setBufferSizeMillis, setFormatCode, setMixer, setMuted, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioPlayback

public AudioPlayback(int formatCode,
                     javax.sound.sampled.Mixer mixer,
                     int bufferSizeMillis)
Method Detail

start

public void start()
           throws java.lang.Exception
Overrides:
start in class AudioBase
Throws:
java.lang.Exception

setAudioInputStream

public void setAudioInputStream(javax.sound.sampled.AudioInputStream ais)