public class VorbisStream extends 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 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, IOException
VorbisFormatExceptionIOExceptionpublic IdentificationHeader getIdentificationHeader()
public CommentHeader getCommentHeader()
protected SetupHeader getSetupHeader()
public boolean isOpen()
public void close()
throws IOException
IOExceptionpublic int readPcm(byte[] buffer,
int offset,
int length)
throws IOException
IOExceptionpublic long getCurrentGranulePosition()
public int getCurrentBitRate()
public byte[] processPacket(byte[] packet)
throws VorbisFormatException,
IOException
VorbisFormatExceptionIOExceptionCopyright © 2017. All rights reserved.