public final class AppleLosslessSpecificBox extends AbstractFullBox
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
type
Constructor and Description |
---|
AppleLosslessSpecificBox() |
Modifier and Type | Method and Description |
---|---|
void |
_parseDetails(ByteBuffer content)
Parse the box's fields and child boxes if any.
|
long |
getBitRate() |
int |
getChannels() |
protected void |
getContent(ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer . |
protected long |
getContentSize()
Get the box's content size without its header.
|
int |
getHistoryMult() |
int |
getInitialHistory() |
int |
getKModifier() |
long |
getMaxCodedFrameSize() |
long |
getMaxSamplePerFrame() |
long |
getSampleRate() |
int |
getSampleSize() |
int |
getUnknown1() |
int |
getUnknown2() |
void |
setBitRate(int bitRate) |
void |
setChannels(int channels) |
void |
setHistoryMult(int historyMult) |
void |
setInitialHistory(int initialHistory) |
void |
setKModifier(int kModifier) |
void |
setMaxCodedFrameSize(int maxCodedFrameSize) |
void |
setMaxSamplePerFrame(int maxSamplePerFrame) |
void |
setSampleRate(int sampleRate) |
void |
setSampleSize(int sampleSize) |
void |
setUnknown1(int unknown1) |
void |
setUnknown2(int unknown2) |
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlags
getBox, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent
public static final String TYPE
public long getMaxSamplePerFrame()
public void setMaxSamplePerFrame(int maxSamplePerFrame)
public int getUnknown1()
public void setUnknown1(int unknown1)
public int getSampleSize()
public void setSampleSize(int sampleSize)
public int getHistoryMult()
public void setHistoryMult(int historyMult)
public int getInitialHistory()
public void setInitialHistory(int initialHistory)
public int getKModifier()
public void setKModifier(int kModifier)
public int getChannels()
public void setChannels(int channels)
public int getUnknown2()
public void setUnknown2(int unknown2)
public long getMaxCodedFrameSize()
public void setMaxCodedFrameSize(int maxCodedFrameSize)
public long getBitRate()
public void setBitRate(int bitRate)
public long getSampleRate()
public void setSampleRate(int sampleRate)
public void _parseDetails(ByteBuffer content)
AbstractBox
_parseDetails
in class AbstractBox
content
- the box's raw content beginning after the 4-cc field.protected void getContent(ByteBuffer byteBuffer)
AbstractBox
ByteBuffer
. This must include flags
and version in case of a full box. byteBuffer
has been initialized with
getSize()
bytes.getContent
in class AbstractBox
byteBuffer
- the sink for the box's contentprotected long getContentSize()
AbstractBox
getContent(ByteBuffer)
writes.getContentSize
in class AbstractBox
AbstractBox.getContent(java.nio.ByteBuffer)
Copyright © 2014. All rights reserved.