AudioFile-0.3.6

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  alsa oss-1.1.8

- Next

  FAAC-1.29.9.2

- Up
- Home

# AudioFile-0.3.6

## 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-8.4 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/audiofile/0.3/audiofile-0.3.6.tar.xz

- Download MD5 sum: 235dde14742317328f0109e9866a8008

- Download size: 520 KB

- Estimated disk space required: 18 MB

- Estimated build time: 0.6 SBU

### AudioFile Dependencies

#### Required

alsa-lib-1.1.8

#### Recommended

FLAC-1.3.2

#### Optional

asciidoc-8.6.9 and Valgrind-3.14.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/audiofile

## Installation of AudioFile

Install AudioFile by running the following commands:

    CXXFLAGS=-std=c++98 \
    ./configure --prefix=/usr --disable-static &&

    make

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.

## Contents

Installed Programs: sfconvert and sfinfo
Installed Libraries: libaudiofile.so
Installed Directories: None

### Short Descriptions

sfinfo | displays the sound file format, audio encoding, sampling rate and duration for audio formats supported by this library.
sfconvert | converts sound file formats where the original format and destination format are supported by this library.
`libaudiofile.so` | contains functions used by programs to support AIFF, AIFF-compressed, Sun/NeXT, WAV and BIC audio formats.

Last updated on 2019-02-17 15:55:58 -0600

- Prev

  alsa oss-1.1.8

- Next

  FAAC-1.29.9.2

- Up
- Home