This repository provides pre-compiled dynamic libraries for libsndfile. The files have no dependencies on other libraries, support for FLAC and Ogg Vorbis and Opus and MP3encoding/ decoding is built-in statically.
The DLLs are copied from the libsndfile releases page.
The dylib was created on a macOS system using XCode. The XCode CLI tools were installed with:
xcode-select --install
Edit the versions of required libraries in the mac_build.sh
file
OGGNAME=libogg-1.3.5
VORBISNAME=libvorbis-1.3.7
FLACNAME=flac-1.3.3
OPUSNAME=opus-1.3.1
MPG123VERSION=1.29.3
LAMEVERSION=3.100
SNDFILE_VERSION=1.1.0
Run the script to build libsndfile.dylib
./mac_build.sh
-
Libsndfile by Erik de Castro Lopo, GNU Lesser General Public License (LGPL).
-
FLAC by Josh Coalson and Xiph.Org Foundation, 3-clause BSD License.
-
Ogg Vorbis by Xiph.Org Foundation, 3-clause BSD License.
-
Opus by Xiph.Org Foundation and Broadcom and Microsoft, 3-clause BSD License.
-
Mpg123 by Michael Hipp and others, LGPL v2.1 License.
-
Lame by Mike Cheng, Mark Taylor, and The LAME Project, LGP v2 License.