bastibe / libsndfile-binaries

Pre-compiled shared libraries for libsndfile
GNU Lesser General Public License v2.1
35 stars 25 forks source link

Rebuild libsndfile_arm64.dylib with latest FLAC #31

Open bemoody opened 4 months ago

bemoody commented 4 months ago

It appears that the current libsndfile_arm64.dylib in this repository was built using libFLAC 1.4.2, whereas all of the other binaries here were built using libFLAC 1.4.3.

libFLAC 1.4.2 has at least one bug (failing to seek to a certain time point) that appears to be fixed in 1.4.3.

Could you please rebuild libsndfile_arm64.dylib using the latest FLAC?

bastibe commented 3 months ago

Thank you for the bug report. To help me, you can edit the two build scripts with current versions of the dependency libraries, and provide the changes as a pull request.

bemoody commented 3 months ago

To be clear, in linux_build.sh and mac_build.sh the versions are listed as follows:

OGGVERSION=1.3.5
VORBISVERSION=1.3.7
FLACVERSION=1.4.3
OPUSVERSION=1.4
MPG123VERSION=1.32.3
LAMEVERSION=3.100
SNDFILE_VERSION=1.2.2

So both of these scripts are already pointing to the latest version of FLAC. (However, by running strings on the binary files, I can see that libsndfile_arm64.dylib was built using FLAC 1.4.2, whereas the other five were using FLAC 1.4.3.)

That said, I'll make a pull request to bump the version numbers for opus and mpg123 if that will be helpful.

bastibe commented 3 months ago

Thank you!