FileDocCategorySizeDatePackage
SoundMediaHeaderBox.javaAPI Docmp4parser 1.0-RC-171640Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes

SoundMediaHeaderBox

public class SoundMediaHeaderBox extends AbstractMediaHeaderBox

Fields Summary
public static final String
TYPE
private float
balance
Constructors Summary
public SoundMediaHeaderBox()


      
        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        balance = IsoTypeReader.readFixedPoint88(content);
        IsoTypeReader.readUInt16(content);
    
public floatgetBalance()

        return balance;
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeFixedPoint88(byteBuffer, balance);
        IsoTypeWriter.writeUInt16(byteBuffer, 0);
    
protected longgetContentSize()

        return 8;
    
public java.lang.StringtoString()

        return "SoundMediaHeaderBox[balance=" + getBalance() + "]";