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.
-
Field Summary
Fields inherited from class javax.sound.sampled.AudioInputStream
format, frameLength, framePos, frameSize -
Constructor Summary
ConstructorsConstructorDescriptionDecodedVorbisAudioInputStream(AudioFormat outputFormat, AudioInputStream bitStream) Constructor. -
Method Summary
Methods inherited from class org.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream
available, getCircularBuffer, mark, markSupported, read, read, read, reset, skip, writeMoreMethods inherited from class org.tritonus.share.sampled.convert.TAudioInputStream
setPropertyMethods inherited from class javax.sound.sampled.AudioInputStream
getFormat, getFrameLengthMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
DecodedVorbisAudioInputStream
Constructor.
-
-
Method Details
-
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
Close the stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.tritonus.share.sampled.convert.TAsynchronousFilteredAudioInputStream- Throws:
IOException
-