de.jarnbjo.util.audio
Class FadeableAudioInputStream
java.lang.Object
java.io.InputStream
javax.sound.sampled.AudioInputStream
de.jarnbjo.util.audio.FadeableAudioInputStream
- All Implemented Interfaces:
- Closeable
public class FadeableAudioInputStream
- extends AudioInputStream
|
Method Summary |
void |
fadeOut()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int offset,
int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FadeableAudioInputStream
public FadeableAudioInputStream(AudioInputStream stream)
throws IOException
- Throws:
IOException
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.