Class DecodedVorbisAudioInputStream

java.lang.Object
java.io.InputStream
javax.sound.sampled.AudioInputStream
org.tritonus.share.sampled.convert.TAudioInputStream
org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
javazoom.spi.vorbis.sampled.convert.DecodedVorbisAudioInputStream
All Implemented Interfaces:
Closeable, AutoCloseable, PropertiesContainer, org.tritonus.share.TCircularBuffer.Trigger

public class DecodedVorbisAudioInputStream extends org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream implements PropertiesContainer
This class implements the Vorbis decoding.
  • Constructor Details

    • DecodedVorbisAudioInputStream

      public DecodedVorbisAudioInputStream(AudioFormat outputFormat, AudioInputStream bitStream)
      Constructor.
  • Method Details

    • properties

      public Map properties()
      Return dynamic properties.
      • ogg.position.byte [Long], current position in bytes in the stream.
      Specified by:
      properties in interface PropertiesContainer
      Overrides:
      properties in class org.tritonus.share.sampled.convert.TAudioInputStream
    • execute

      public void execute()
      Main loop.
      Specified by:
      execute in interface org.tritonus.share.TCircularBuffer.Trigger
    • close

      public void close() throws IOException
      Close the stream.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
      Throws:
      IOException