org.jaudiotagger.audio.mp4.atom
Class Mp4StsdBox

java.lang.Object
  extended by org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
      extended by org.jaudiotagger.audio.mp4.atom.Mp4StsdBox

public class Mp4StsdBox
extends AbstractMp4Box

StsdBox ( sample (frame encoding) description box)

4 bytes version/flags = byte hex version + 24-bit hex flags (current = 0) - > 4 bytes number of descriptions = long unsigned total (default = 1) Then if audio contains mp4a,alac or drms box


Field Summary
static int NO_OF_DESCRIPTIONS_POS
           
static int NO_OF_DESCRIPTIONS_POS_LENGTH
           
static int OTHER_FLAG_LENGTH
           
static int OTHER_FLAG_POS
           
static int VERSION_FLAG_LENGTH
           
static int VERSION_FLAG_POS
           
 
Fields inherited from class org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
dataBuffer, header
 
Constructor Summary
Mp4StsdBox(Mp4BoxHeader header, java.nio.ByteBuffer dataBuffer)
           
 
Method Summary
 void processData()
           
 
Methods inherited from class org.jaudiotagger.audio.mp4.atom.AbstractMp4Box
getData, getHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_FLAG_POS

public static final int VERSION_FLAG_POS
See Also:
Constant Field Values

OTHER_FLAG_POS

public static final int OTHER_FLAG_POS
See Also:
Constant Field Values

NO_OF_DESCRIPTIONS_POS

public static final int NO_OF_DESCRIPTIONS_POS
See Also:
Constant Field Values

VERSION_FLAG_LENGTH

public static final int VERSION_FLAG_LENGTH
See Also:
Constant Field Values

OTHER_FLAG_LENGTH

public static final int OTHER_FLAG_LENGTH
See Also:
Constant Field Values

NO_OF_DESCRIPTIONS_POS_LENGTH

public static final int NO_OF_DESCRIPTIONS_POS_LENGTH
See Also:
Constant Field Values
Constructor Detail

Mp4StsdBox

public Mp4StsdBox(Mp4BoxHeader header,
                  java.nio.ByteBuffer dataBuffer)
Parameters:
header - header info
dataBuffer - data of box (doesnt include header data)
Method Detail

processData

public void processData()
                 throws CannotReadException
Throws:
CannotReadException