Methods Summary |
---|
public int | getBitRate()
return bitRate;
|
public int | getChannels()
return channels;
|
public int | getHistoryMult()
return historyMult;
|
public int | getInitialHistory()
return initialHistory;
|
public int | getKModifier()
return kModifier;
|
public int | getMaxCodedFrameSize()
return maxCodedFrameSize;
|
public int | getMaxSamplePerFrame()
return maxSamplePerFrame;
|
public int | getSampleRate()
return sampleRate;
|
public int | getSampleSize()
return sampleSize;
|
public int | getUnknown1()
return unknown1;
|
public int | getUnknown2()
return unknown2;
|
public void | processData()
//Skip version/other flags
dataBuffer.position(dataBuffer.position() + OTHER_FLAG_LENGTH);
maxSamplePerFrame = Utils.readUBEInt32(dataBuffer);
unknown1 = Utils.readUInt8(dataBuffer);
sampleSize = Utils.readUInt8(dataBuffer);
historyMult = Utils.readUInt8(dataBuffer);
initialHistory = Utils.readUInt8(dataBuffer);
kModifier = Utils.readUInt8(dataBuffer);
channels = Utils.readUInt8(dataBuffer);
unknown2 = Utils.readUBEInt16(dataBuffer);
maxCodedFrameSize = Utils.readUBEInt32(dataBuffer);
bitRate = Utils.readUBEInt32(dataBuffer);
sampleRate = Utils.readUBEInt32(dataBuffer);
|
public java.lang.String | toString()
String s = "maxSamplePerFrame:" + maxSamplePerFrame
+ "unknown1:"+ unknown1
+ "sampleSize:"+sampleSize
+ "historyMult:"+historyMult
+ "initialHistory:"+initialHistory
+ "kModifier:"+kModifier
+ "channels:"+channels
+ "unknown2 :"+unknown2
+ "maxCodedFrameSize:"+maxCodedFrameSize
+ "bitRate:"+bitRate
+ "sampleRate:"+sampleRate;
return s;
|