wiki:Specs/Command/RAUM_SEEKTABLE

Version 1 (modified by ph3-der-loewe, 5 years ago) (diff)

BEGIN{}

The RAUM_SEEKTABLE command is used in RAUM? files to define seektables. Such a seektable is a list of points within the file with byte offsets so the decoder can seek (jump) faster within the file.

Data Structure

Seektable

Offset Size/Type? Meaning
0 uint8 Version (Always zero)
1 uint16 Number of points in table
3 n*seekpoint Seekpoints
... padding Padding (zero bytes)

Seekpoint

Offset Size/Type? Meaning
0 uint8 Event
1 uint8 Flags
2 uint16 option Stream ID
... uint16/32/64 Start Position (stream pos)
... uint16/32/64 Start Offset
... uint16/32/64 option End Position (stream pos)
... uint16/32/64 option End Offset