Introduction to AudioFile

The AudioFile package contains the audio file libraries and two sound file support programs useful to support basic sound file formats.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

Additional Downloads

AudioFile Dependencies





asciidoc-10.2.0 and Valgrind-3.22.0

Installation of AudioFile

Install AudioFile by running the following commands:

patch -Np1 -i ../audiofile-0.3.6-consolidated_patches-1.patch &&
autoreconf -fiv                             &&

./configure --prefix=/usr --disable-static  &&


Now, as the root user:

make install

To test the results, issue: make check. Note that the tests will fail if the --disable-static option is used and tests are executed before make install. You have three options:

(a) configure without --disable-static, run the tests, but do not install, then start a fresh build using --disable-static just for installing the package.

(b) configure with --disable-static, but only run the tests after the package is installed.

(c) configure with --disable-static, but only run the tests after a DESTDIR install.

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: sfconvert and sfinfo
Installed Libraries:
Installed Directories: None

Short Descriptions


displays the sound file format, audio encoding, sampling rate and duration for audio formats supported by this library


converts sound file formats where the original format and destination format are supported by this library

contains functions used by programs to support AIFF, AIFF-compressed, Sun/NeXT, WAV and BIC audio formats