public class VorbisStream
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BIG_ENDIAN |
static int |
LITTLE_ENDIAN |
| Constructor and Description |
|---|
VorbisStream() |
VorbisStream(LogicalOggStream oggStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CommentHeader |
getCommentHeader() |
int |
getCurrentBitRate() |
long |
getCurrentGranulePosition() |
IdentificationHeader |
getIdentificationHeader() |
protected de.jarnbjo.vorbis.SetupHeader |
getSetupHeader() |
boolean |
isOpen() |
byte[] |
processPacket(byte[] packet) |
int |
readPcm(byte[] buffer,
int offset,
int length) |
public static final int BIG_ENDIAN
public static final int LITTLE_ENDIAN
public VorbisStream()
public VorbisStream(LogicalOggStream oggStream) throws VorbisFormatException, java.io.IOException
VorbisFormatExceptionjava.io.IOExceptionpublic IdentificationHeader getIdentificationHeader()
public CommentHeader getCommentHeader()
protected de.jarnbjo.vorbis.SetupHeader getSetupHeader()
public boolean isOpen()
public void close()
throws java.io.IOException
java.io.IOExceptionpublic int readPcm(byte[] buffer,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionpublic long getCurrentGranulePosition()
public int getCurrentBitRate()
public byte[] processPacket(byte[] packet)
throws VorbisFormatException,
java.io.IOException
VorbisFormatExceptionjava.io.IOExceptionCopyright © 2013 Tor-Einar Jarnbjo. All Rights Reserved.