Package de.jarnbjo.vorbis
Class VorbisStream
java.lang.Object
de.jarnbjo.vorbis.VorbisStream
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
long
protected de.jarnbjo.vorbis.SetupHeader
boolean
isOpen()
byte[]
processPacket
(byte[] byteArray) int
readPcm
(byte[] byteArray, int int1, int int2)
-
Field Details
-
BIG_ENDIAN
public static final int BIG_ENDIAN- See Also:
-
LITTLE_ENDIAN
public static final int LITTLE_ENDIAN- See Also:
-
-
Constructor Details
-
VorbisStream
public VorbisStream() -
VorbisStream
- Throws:
VorbisFormatException
IOException
-
-
Method Details
-
getIdentificationHeader
-
getCommentHeader
-
getSetupHeader
protected de.jarnbjo.vorbis.SetupHeader getSetupHeader() -
isOpen
public boolean isOpen() -
close
- Throws:
IOException
-
readPcm
- Throws:
IOException
-
getCurrentGranulePosition
public long getCurrentGranulePosition() -
getCurrentBitRate
public int getCurrentBitRate() -
processPacket
- Throws:
VorbisFormatException
IOException
-