org.jaudiotagger.audio.mp4.atom
Class Mp4AlacBox
java.lang.Object
org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4AlacBox
public class Mp4AlacBox
- extends AbstractMp4Box
AlacBox ( Apple Lossless Codec information description box),
Normally occurs twice, the first ALAC contaisn the default values, the second ALAC within contains the real
values for this audio.
Constructor Summary |
Mp4AlacBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
DataBuffer must start from from the start of the body |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OTHER_FLAG_LENGTH
public static final int OTHER_FLAG_LENGTH
- See Also:
- Constant Field Values
maxSamplePerFrame
private int maxSamplePerFrame
unknown1
private int unknown1
sampleSize
private int sampleSize
historyMult
private int historyMult
initialHistory
private int initialHistory
kModifier
private int kModifier
channels
private int channels
unknown2
private int unknown2
maxCodedFrameSize
private int maxCodedFrameSize
bitRate
private int bitRate
sampleRate
private int sampleRate
Mp4AlacBox
public Mp4AlacBox(Mp4BoxHeader header,
java.nio.ByteBuffer dataBuffer)
- DataBuffer must start from from the start of the body
- Parameters:
header
- header infodataBuffer
- data of box (doesnt include header data)
processData
public void processData()
throws CannotReadException
- Throws:
CannotReadException
getMaxSamplePerFrame
public int getMaxSamplePerFrame()
getUnknown1
public int getUnknown1()
getSampleSize
public int getSampleSize()
getHistoryMult
public int getHistoryMult()
getInitialHistory
public int getInitialHistory()
getKModifier
public int getKModifier()
getChannels
public int getChannels()
getUnknown2
public int getUnknown2()
getMaxCodedFrameSize
public int getMaxCodedFrameSize()
getBitRate
public int getBitRate()
getSampleRate
public int getSampleRate()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object