Displaying 1 result from an estimated 1 matches for "crc16_align".
2015 Dec 16
2
about word size in bitreader/bitwriter
...code will not work unless uint32_t is >= 32 bits wide */
     #define FLAC__BYTES_PER_WORD 4
     #define FLAC__BITS_PER_WORD 32
     #define FLAC__WORD_ALL_ONES ((FLAC__uint32)0xffffffff)
     ...
and the following code in bitreader.c:
     #if FLAC__BYTES_PER_WORD == 4
         switch(br->crc16_align) {
             case  0: crc = FLAC__CRC16_UPDATE((unsigned)(word >> 24), crc);
             case  8: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 16) & 0xff), crc);
             case 16: crc = FLAC__CRC16_UPDATE((unsigned)((word >> 8) & 0xff), crc);
             case 24:...