#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  Liba52-0.8.0

- Next

  libaom-3.12.0

- Up
- Home

# Libao-1.2.0

## Introduction to Libao

The libao package contains a cross-platform audio library. This is useful to output audio on a wide variety of platforms. It currently supports WAV files, OSS (Open Sound System), ESD (Enlighten Sound Daemon), ALSA (Advanced Linux Sound Architecture), NAS (Network Audio system), aRTS (analog Real-Time Synthesizer), and PulseAudio (next generation GNOME sound architecture).

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

### Package Information

- Download (HTTP): https://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz

- Download MD5 sum: 9f5dd20d7e95fd0dd72df5353829f097

- Download size: 456 KB

- Estimated disk space required: 3.9 MB

- Estimated build time: less than 0.1 SBU

### Libao Dependencies

#### Optional

a graphical environment, alsa-lib-1.2.13, and PulseAudio-17.0

## Installation of Libao

First, fix a gcc-14 issue:

    sed -i '/limits.h/a #include <time.h>' src/plugins/pulse/ao_pulse.c

Install libao by running the following commands:

    ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install &&
    install -v -m644 README /usr/share/doc/libao-1.2.0

## Configuring Libao

### Config Files

`/etc/libao.conf` and `~/.libao`

### Configuration Information

Currently, the only configuration option available is setting the default output device. Issue man libao.conf for details.

## Contents

Installed Programs: None
Installed Libraries: libao.so and plugins under /usr/lib/ao/plugins-4
Installed Directories: /usr/include/ao, /usr/lib/ao and /usr/share/doc/libao-1.2.0

### Short Descriptions

`libao.so` | provides functions for programs wishing to output sound over supported platforms

- Prev

  Liba52-0.8.0

- Next

  libaom-3.12.0

- Up
- Home