| CODENOTIFIER | HelpYou are not signed inSign in |
Project: OGG Vorbis
Revision: 15099
Author: giles
Date: 06 Jul 2008 14:02:04
Changes:Document explicitly that the comment header uses little endian integers
for the the benefit of those reading the comment spec in isolation.
| ... | ...@@ -50,6 +50,12 @@ | |
| 50 | 50 | length encoded in 32 bits). For example, the 1.0 release of libvorbis |
| 51 | 51 | set the vendor string to "Xiph.Org libVorbis I 20020717".</para> |
| 52 | 52 | |
| 53 | <para> | |
| 54 | The vector lengths and number of vectors are stored lsb first, according | |
| 55 | to the bit packing conventions of the vorbis codec. However, since data | |
| 56 | in the comment header is octet-aligned, they can simply be read as | |
| 57 | unaligned 32 bit little endian unsigned integers. | |
| 58 | ||
| 53 | 59 | <para>The comment header is decoded as follows: |
| 54 | 60 | |
| 55 | 61 | <programlisting> |