de.jarnbjo.util.audio
Class FadeableAudioInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.sound.sampled.AudioInputStream
          extended by de.jarnbjo.util.audio.FadeableAudioInputStream
All Implemented Interfaces:
Closeable

public class FadeableAudioInputStream
extends AudioInputStream


Field Summary
 
Fields inherited from class javax.sound.sampled.AudioInputStream
format, frameLength, framePos, frameSize
 
Constructor Summary
FadeableAudioInputStream(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FadeableAudioInputStream

public FadeableAudioInputStream(AudioInputStream stream)
                         throws IOException
Throws:
IOException
Method Detail

fadeOut

public void fadeOut()

read

public int read(byte[] b)
         throws IOException
Overrides:
read in class AudioInputStream
Throws:
IOException

read

public int read(byte[] b,
                int offset,
                int length)
         throws IOException
Overrides:
read in class AudioInputStream
Throws:
IOException


Copyright © 2007-2011 shredzone.org. All Rights Reserved.