|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaudiotagger.audio.asf.data.Chunk
org.jaudiotagger.audio.asf.data.StreamBitratePropertiesChunk
public class StreamBitratePropertiesChunk
This class represents the "Stream Bitrate Properties" chunk of an asf media
file.
It is optional, but contains useful information about the streams bitrate.
Constructor Summary | |
---|---|
StreamBitratePropertiesChunk(long pos,
java.math.BigInteger chunkSize)
Creates an instance. |
Method Summary | |
---|---|
void |
addBitrateRecord(int streamNum,
long averageBitrate)
Adds the public values of a stream-record. |
long |
getAvgBitrate(int streamNumber)
Returns the average bitrate of the given stream. |
java.lang.String |
prettyPrint()
(overridden) |
Methods inherited from class org.jaudiotagger.audio.asf.data.Chunk |
---|
getChunckEnd, getChunkLength, getGuid, getPosition, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamBitratePropertiesChunk(long pos, java.math.BigInteger chunkSize)
pos
- Position of the chunk within file or streamchunkLen
- Length of current chunk.Method Detail |
---|
public void addBitrateRecord(int streamNum, long averageBitrate)
streamNum
- The number of the refered stream.averageBitrate
- Its average Bitrate.public long getAvgBitrate(int streamNumber)
streamNumber
- Number of the stream whose bitrate to determine.
-1
if
no information was given.public java.lang.String prettyPrint()
prettyPrint
in class Chunk
entagged.audioformats.asf.data.Chunk#prettyPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |