de.jarnbjo.util.audio
Class FadeableAudioInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.sound.sampled.AudioInputStream
          extended byde.jarnbjo.util.audio.FadeableAudioInputStream

public class FadeableAudioInputStream
extends javax.sound.sampled.AudioInputStream


Constructor Summary
FadeableAudioInputStream(javax.sound.sampled.AudioInputStream stream)
           
 
Method Summary
 void fadeOut()
           
 int read(byte[] b)
           
 int read(byte[] b, int offset, int length)
           
 
Methods inherited from class javax.sound.sampled.AudioInputStream
available, close, getFormat, getFrameLength, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FadeableAudioInputStream

public FadeableAudioInputStream(javax.sound.sampled.AudioInputStream stream)
                         throws java.io.IOException
Method Detail

fadeOut

public void fadeOut()

read

public int read(byte[] b)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] b,
                int offset,
                int length)
         throws java.io.IOException
Throws:
java.io.IOException