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, getOggPacket, setData, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, setData, write
public VorbisSetup(OggPacket pkt)
public VorbisSetup()
public int getHeaderSize()
VorbisPacket
getHeaderSize
in interface VorbisPacket
public void populateMetadataHeader(byte[] b, int dataLength)
VorbisPacket
VorbisPacketFactory.populateMetadataHeader(byte[], int, int)
populateMetadataHeader
in interface VorbisPacket
public int getNumberOfCodebooks()
Copyright © 2015. All rights reserved.