Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
byte[] v = new byte[4];
content.get(v);
vendor = IsoFile.bytesToFourCC(v);
decoderVersion = IsoTypeReader.readUInt8(content);
modeSet = IsoTypeReader.readUInt16(content);
modeChangePeriod = IsoTypeReader.readUInt8(content);
framesPerSample = IsoTypeReader.readUInt8(content);
|
public void | getContent(java.nio.ByteBuffer byteBuffer)
byteBuffer.put(IsoFile.fourCCtoBytes(vendor));
IsoTypeWriter.writeUInt8(byteBuffer, decoderVersion);
IsoTypeWriter.writeUInt16(byteBuffer, modeSet);
IsoTypeWriter.writeUInt8(byteBuffer, modeChangePeriod);
IsoTypeWriter.writeUInt8(byteBuffer, framesPerSample);
|
protected long | getContentSize()
return 9;
|
public int | getDecoderVersion()
return decoderVersion;
|
public int | getFramesPerSample()
return framesPerSample;
|
public int | getModeChangePeriod()
return modeChangePeriod;
|
public int | getModeSet()
return modeSet;
|
public java.lang.String | getVendor()
return vendor;
|
public java.lang.String | toString()
StringBuilder buffer = new StringBuilder();
buffer.append("AmrSpecificBox[vendor=").append(getVendor());
buffer.append(";decoderVersion=").append(getDecoderVersion());
buffer.append(";modeSet=").append(getModeSet());
buffer.append(";modeChangePeriod=").append(getModeChangePeriod());
buffer.append(";framesPerSample=").append(getFramesPerSample());
buffer.append("]");
return buffer.toString();
|