Class AudioInputStreamDecoder

java.lang.Object
net.avadeaux.klipspringer.codec.AudioInputStreamDecoder
All Implemented Interfaces:
Closeable, AutoCloseable, AudioDecoder

public class AudioInputStreamDecoder extends Object implements AudioDecoder
Audio decoder that reads from an AudioInputStream. This allows obtaining an AudioDecoder for any format supported by the standard Java Sound system by wrapping a stream obtained for instance by AudioSystem.getAudioInputStream(File).
  • Constructor Details

    • AudioInputStreamDecoder

      public AudioInputStreamDecoder(AudioInputStream stream, AudioDecoder.Target target)
      Sets up for sending data from the given AudioInputStream to the given target.
  • Method Details