RSO: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(fill in the unknown details) |
||
Line 7: | Line 7: | ||
All multi-byte numbers are big endian. An RSO file begins with the following 8-byte header: | All multi-byte numbers are big endian. An RSO file begins with the following 8-byte header: | ||
bytes 0-1 | bytes 0-1 Codec ID | ||
bytes 2-3 File length, not including this 8-byte header | bytes 2-3 File length, not including this 8-byte header | ||
bytes 4-5 Audio sample rate | bytes 4-5 Audio sample rate | ||
bytes 6-7 | bytes 6-7 Looping flag | ||
The following codec ID values are valid: | |||
* 0x0100 = unsigned 8-bit PCM | |||
* 0x0101 = IMA ADPCM | |||
The payload of the file follows immediately after the header. | The payload of the file follows immediately after the header. | ||
[[Category:Container Formats]] | [[Category:Container Formats]] |
Latest revision as of 18:55, 14 July 2010
- Extension: RSO
- Samples: http://samples.mplayerhq.hu/A-codecs/rso/
RSO is a sound file format used in conjunction with Lego Mindstorms construction sets.
File Format
All multi-byte numbers are big endian. An RSO file begins with the following 8-byte header:
bytes 0-1 Codec ID bytes 2-3 File length, not including this 8-byte header bytes 4-5 Audio sample rate bytes 6-7 Looping flag
The following codec ID values are valid:
- 0x0100 = unsigned 8-bit PCM
- 0x0101 = IMA ADPCM
The payload of the file follows immediately after the header.