public interface VorbisPacket extends OggStreamPacket
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_LENGTH_AUDIO |
static int |
HEADER_LENGTH_METADATA |
static int |
TYPE_COMMENTS |
static int |
TYPE_INFO |
static int |
TYPE_SETUP |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeaderSize()
How big is the header on this packet?
For Metadata packets it's normally 7 bytes,
otherwise for audio packets there is no header.
|
void |
populateMetadataHeader(byte[] b,
int dataLength)
Have the metadata header populated into the data,
normally used when writing out.
|
getData, getOggOverheadSize, setData, writestatic final int TYPE_INFO
static final int TYPE_COMMENTS
static final int TYPE_SETUP
static final int HEADER_LENGTH_METADATA
static final int HEADER_LENGTH_AUDIO
int getHeaderSize()
void populateMetadataHeader(byte[] b,
int dataLength)
VorbisPacketFactory.populateMetadataHeader(byte[], int, int)Copyright © 2021. All rights reserved.