> nothing about RIFF implies that the data chunk is last.
Correct. However the standard hack to use WAV in streaming
applications is to put DATA last and set the chink size to 0xffffffff.
> w64 is the format to use, and libsndfile handles it (and CAF) with
Linux-audio-user mailing list