CueTrack constructor
CueTrack(
- StreamReader reader
/ NULL if num_indices == 0, else pointer to array of index points.
Implementation
CueIndex>[]; //// NULL if num_indices == 0, else pointer to array of index points.
CueTrack(this.reader) {
offset = reader.getInt(CueTrack.OFFSET_SIZE);
number = reader.getInt(CueTrack.NUMBER_SIZE);
isrc = reader.getUint8List(CueTrack.ISRC_SIZE);
type = reader.getInt(CueTrack.TYPE_SIZE);
preEmphasis = reader.getInt(CueTrack.PRE_EMPHASIS_SIZE);
reader.skip(CueTrack.RESERVED_SIZE);
numIndices = reader.getInt(CueTrack.NUM_INDICES_SIZE);
if (numIndices > 0) {
for (var i = 0; i < numIndices; i++) {
var cueIndex = CueIndex(reader);
indices.add(cueIndex);
}
}
}