[flac-dev] FLAC__BYTES_PER_WORD==8 test results

Brian Willoughby brianw at audiobanshee.com
Wed Dec 30 11:22:28 PST 2015

On Dec 30, 2015, at 3:09 AM, Thomas Zander <thomas.e.zander at googlemail.com> wrote:
> On 29 December 2015 at 21:50, lvqcl <lvqcl.mail at gmail.com> wrote:
>> So, does it make sense to #define FLAC__BYTES_PER_WORD (in bitreader.c)
>> as 4 for 32-bit and as 8 for 64-bit targets?
> Your tests so far imply this is a sensible default.
> I'd say go ahead. We can always change it if it turns out there is a
> better option.
> Riggs

What's wrong with something incredible simple, like:

#define FLAC__BYTES_PER_WORD (sizeof(int))


More information about the flac-dev mailing list