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