On Tue, Apr 2, 2013 at 3:24 PM, Monty Montgomery <xiphmont@gmail.com> wrote:
Huh, you're right.

Oh, i see... we've been supporting >4GB wave files in the Xiph stuff
by setting the length to 0xFFFFFFFF and assuming the data chunk is
last (intuiting chunk length from file length).

nothing about RIFF implies that the data chunk is last.  in fact, there is no ordering at all except that the RIFF chunk is first. there are several windows app that make this "mistake".

w64 is the format to use, and libsndfile handles it (and CAF) with distinction.