FileDocCategorySizeDatePackage
Mp4StsdBox.javaAPI DocJaudiotagger 2.0.41312Wed Mar 30 16:11:44 BST 2011org.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

Fields Summary
public static final int
VERSION_FLAG_POS
public static final int
OTHER_FLAG_POS
public static final int
NO_OF_DESCRIPTIONS_POS
public static final int
VERSION_FLAG_LENGTH
public static final int
OTHER_FLAG_LENGTH
public static final int
NO_OF_DESCRIPTIONS_POS_LENGTH
Constructors Summary
public Mp4StsdBox(Mp4BoxHeader header, ByteBuffer dataBuffer)

param
header header info
param
dataBuffer data of box (doesnt include header data)


                          
        
    
        this.header = header;
        this.dataBuffer = dataBuffer;
    
Methods Summary
public voidprocessData()

        //Skip the data
        dataBuffer.position(dataBuffer.position() + VERSION_FLAG_LENGTH + OTHER_FLAG_LENGTH + NO_OF_DESCRIPTIONS_POS_LENGTH);