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:
java.io.Closeable,java.lang.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 Summary
Constructors Constructor Description DecodedVorbisAudioInputStream(javax.sound.sampled.AudioFormat outputFormat, javax.sound.sampled.AudioInputStream bitStream)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the stream.voidexecute()Main loop.java.util.Mapproperties()Return dynamic properties.-
Methods inherited from class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
available, getCircularBuffer, mark, markSupported, read, read, read, reset, skip, writeMore
-
-
-
-
Method Detail
-
properties
public java.util.Map properties()
Return dynamic properties.- ogg.position.byte [Long], current position in bytes in the stream.
- Specified by:
propertiesin interfacePropertiesContainer- Overrides:
propertiesin classorg.tritonus.share.sampled.convert.TAudioInputStream
-
execute
public void execute()
Main loop.- Specified by:
executein interfaceorg.tritonus.share.TCircularBuffer.Trigger
-
close
public void close() throws java.io.IOExceptionClose the stream.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classorg.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream- Throws:
java.io.IOException
-
-