That particular fix was required for Ardour. When we failed to do that with the 32 bit build of Ardour, the symptoms are precisely as described.

We also define _LARGEFILE64_SOURCE_ as well.

On Thu, Nov 10, 2016 at 7:09 AM, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:

Perhaps useful information for those who program, but irrelevant for
this thread, since WAV files > 2GiB don't require 64bit at all.

libsndfile on Arch, this is what the OP does use, is configured with
"--prefix=/usr --disable-sqlite" and it's the latest official upstream
release without patches and no changes excepted of 
  sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' src/binheader_writef_check.py \
    src/create_symbols_file.py programs/test-sndfile-metadata-set.py
  sed -i 's|python|&2|' src/Makefile.am


My guess is that libsndfile on 32 bit arch is not compiled
with _FILE_OFFSET_BITS set to 64, for some reason.


_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user