public class FlacOggInfo extends FlacInfo implements OggAudioInfoHeader
FlacInfo plus the version data from
FlacFirstOggPacketAPPLICATION, CUESHEET, PADDING, PICTURE, SEEKTABLE, STREAMINFO, VORBIS_COMMENT| Constructor and Description |
|---|
FlacOggInfo()
Creates a new, empty info
|
FlacOggInfo(byte[] data,
int offset,
FlacFirstOggPacket parent)
Reads the Info from the specified data
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOggOverheadSize()
The overhead comes from the parent packet
|
String |
getVersionString()
The version comes from the parent packet
|
void |
setData(byte[] data)
Data setting directly not supported
|
protected void |
setFlacFirstOggPacket(FlacFirstOggPacket parent)
Supplies the FlacFirstOggPacket for a new info
|
OggPacket |
write()
Data writing passes through to the parent packet
|
getBitsPerSample, getMaximumBlockSize, getMaximumFrameSize, getMinimumBlockSize, getMinimumFrameSize, getNumberOfSamples, getNumChannels, getPreSkip, getSampleRate, getSignature, setBitsPerSample, setMaximumBlockSize, setMaximumFrameSize, setMinimumBlockSize, setMinimumFrameSize, setNumberOfSamples, setNumChannels, setSampleRate, setSignature, writecreate, getData, getType, isLastMetadataBlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumChannels, getPreSkip, getSampleRategetDatapublic FlacOggInfo()
public FlacOggInfo(byte[] data,
int offset,
FlacFirstOggPacket parent)
protected void setFlacFirstOggPacket(FlacFirstOggPacket parent)
public String getVersionString()
getVersionString in interface OggAudioInfoHeaderpublic void setData(byte[] data)
setData in interface OggStreamPacketpublic int getOggOverheadSize()
getOggOverheadSize in interface OggStreamPacketpublic OggPacket write()
write in interface OggStreamPacketCopyright © 2021. All rights reserved.