public class VorbisSetup extends HighLevelOggStreamPacket implements VorbisPacket, OggAudioSetupHeader
HEADER_LENGTH_AUDIO, HEADER_LENGTH_METADATA, TYPE_COMMENTS, TYPE_INFO, TYPE_SETUP| Constructor and Description |
|---|
VorbisSetup() |
VorbisSetup(OggPacket pkt) |
| 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.
|
int |
getNumberOfCodebooks() |
void |
populateMetadataHeader(byte[] b,
int dataLength)
Have the metadata header populated into the data,
normally used when writing out.
|
getData, getOggOverheadSize, getOggPacket, setData, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getOggOverheadSize, setData, writepublic VorbisSetup(OggPacket pkt)
public VorbisSetup()
public int getHeaderSize()
VorbisPacketgetHeaderSize in interface VorbisPacketpublic void populateMetadataHeader(byte[] b,
int dataLength)
VorbisPacketVorbisPacketFactory.populateMetadataHeader(byte[], int, int)populateMetadataHeader in interface VorbisPacketpublic int getNumberOfCodebooks()
Copyright © 2021. All rights reserved.