Thank you. I
can reproduce that. But it's only happen for certain
samples,
and it doesn't matter how many you have already played before. Try
to
open
Kick06.flac directly, and it will freeze. As far as I can see, it's
either something wrong with Kick06.flac, or something wrong with
libsndfile,
or I've misunderstood how libsndfile works.
sf_readf_float returns 0 before the file is fully read, which it
should
not.
I've cc-ed Erik de Castro Lopo. Hopefully he can shed some light on
this.
I would be somewhat surprised by that. Is there a reproducable test
case
using something like sndfile-info or a small standalone C program?
If so, please raise a ticket on github:
https://github.com/erikd/libsndfile/