|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.audio.mp4.atom.AbstractMp4Box
org.jaudiotagger.audio.mp4.atom.Mp4StcoBox
public class Mp4StcoBox
StcoBox ( media (stream) header), holds offsets into the Audio data
| Field Summary | |
|---|---|
private int |
firstOffSet
|
static int |
NO_OF_OFFSETS_LENGTH
|
static int |
NO_OF_OFFSETS_POS
|
private int |
noOfOffSets
|
static int |
OFFSET_LENGTH
|
static int |
OTHER_FLAG_LENGTH
|
static int |
OTHER_FLAG_POS
|
static int |
VERSION_FLAG_LENGTH
|
static int |
VERSION_FLAG_POS
|
| Fields inherited from class org.jaudiotagger.audio.mp4.atom.AbstractMp4Box |
|---|
dataBuffer, header |
| Constructor Summary | |
|---|---|
Mp4StcoBox(Mp4BoxHeader header,
java.nio.ByteBuffer buffer)
Construct box from data and show contents |
|
Mp4StcoBox(Mp4BoxHeader header,
java.nio.ByteBuffer originalDataBuffer,
int adjustment)
Construct box from data and adjust offets accordingly |
|
| Method Summary | |
|---|---|
void |
adjustOffsets(int adjustment)
|
static void |
debugShowStcoInfo(java.io.RandomAccessFile raf)
|
int |
getFirstOffSet()
The value of the first offset |
int |
getNoOfOffSets()
The number of offsets |
void |
printAlloffsets()
Show All offsets, useful for debugging |
void |
printTotalOffset()
|
| Methods inherited from class org.jaudiotagger.audio.mp4.atom.AbstractMp4Box |
|---|
getData, getHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERSION_FLAG_POS
public static final int OTHER_FLAG_POS
public static final int NO_OF_OFFSETS_POS
public static final int VERSION_FLAG_LENGTH
public static final int OTHER_FLAG_LENGTH
public static final int NO_OF_OFFSETS_LENGTH
public static final int OFFSET_LENGTH
private int noOfOffSets
private int firstOffSet
| Constructor Detail |
|---|
public Mp4StcoBox(Mp4BoxHeader header,
java.nio.ByteBuffer buffer)
header - header infobuffer - data of box (doesnt include header data)
public Mp4StcoBox(Mp4BoxHeader header,
java.nio.ByteBuffer originalDataBuffer,
int adjustment)
header - header infooriginalDataBuffer - data of box (doesnt include header data)adjustment - | Method Detail |
|---|
public void printTotalOffset()
public void printAlloffsets()
public void adjustOffsets(int adjustment)
public int getNoOfOffSets()
public int getFirstOffSet()
public static void debugShowStcoInfo(java.io.RandomAccessFile raf)
throws java.io.IOException,
CannotReadException
java.io.IOException
CannotReadException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||