public class FlacOggInfo extends FlacInfo implements OggAudioInfoHeader
FlacInfo
plus the version data from
FlacFirstOggPacket
APPLICATION, 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 |
---|---|
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, getSampleRate, getSignature, setBitsPerSample, setMaximumBlockSize, setMaximumFrameSize, setMinimumBlockSize, setMinimumFrameSize, setNumberOfSamples, setNumChannels, setSampleRate, setSignature, write
create, getData, getType, isLastMetadataBlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData
public FlacOggInfo()
public FlacOggInfo(byte[] data, int offset, FlacFirstOggPacket parent)
protected void setFlacFirstOggPacket(FlacFirstOggPacket parent)
public String getVersionString()
getVersionString
in interface OggAudioInfoHeader
public void setData(byte[] data)
setData
in interface OggStreamPacket
public OggPacket write()
write
in interface OggStreamPacket
Copyright © 2015. All rights reserved.