javazoom.spi.vorbis.sampled.convert
Class DecodedVorbisAudioInputStream

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

public class DecodedVorbisAudioInputStream
extends org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
implements PropertiesContainer

This class implements the Vorbis decoding.


Field Summary
 
Fields inherited from class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
m_circularBuffer
 
Fields inherited from class javax.sound.sampled.AudioInputStream
format, frameLength, framePos, frameSize
 
Constructor Summary
DecodedVorbisAudioInputStream(javax.sound.sampled.AudioFormat outputFormat, javax.sound.sampled.AudioInputStream bitStream)
          Constructor.
 
Method Summary
 void close()
          Close the stream.
 void execute()
          Main loop.
 java.util.Map properties()
          Return dynamic properties.
 
Methods inherited from class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
available, getCircularBuffer, mark, markSupported, read, read, read, reset, skip, writeMore
 
Methods inherited from class org.tritonus.share.sampled.convert.TAudioInputStream
setProperty
 
Methods inherited from class javax.sound.sampled.AudioInputStream
getFormat, getFrameLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecodedVorbisAudioInputStream

public DecodedVorbisAudioInputStream(javax.sound.sampled.AudioFormat outputFormat,
                                     javax.sound.sampled.AudioInputStream bitStream)
Constructor.

Method Detail

properties

public java.util.Map properties()
Return dynamic properties.

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 java.io.IOException
Close the stream.

Specified by:
close in interface java.io.Closeable
Overrides:
close in class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
Throws:
java.io.IOException


JavaZOOM 1999-2008