This patch adds support for reading RF64 WAV files, supporting a length greater than 4Gb. It is implemented towards this specification,
http://tech.ebu.ch/docs/tech/tech3306-2009.pdf
The changes may also be pulled from https://github.com/davel/sox
Best regards,
Dave Lambley
Patch against 14.4.1
Attached is a more comprehensive patch containing a workaround for files made by an old version of libsndfile.
I've tried this patch, but it breaks stats and specrogram on "regular" (ie RIFF) wave files
Base On your first patch (rf64_reading.patch) I've spotted what made a regression on regular wav spetrogram
There is the new patch! Is there a chance we'll get that mainstream?
Thanks for your attention MarcosBDM and Eric. I've fixed the bug a little more cleanly in the attached patch.
I have also split out the libsndfile workaround into a separate patch. This allows RF64 files generated by the version of libsndfile distributed with Ubuntu 10.04 to be read successfully.
These patches were applied years ago.