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.2 platform.
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
a graphical environment, alsa-lib-1.2.12, and PulseAudio-17.0
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
Currently, the only configuration option available is setting the default output device. Issue man libao.conf for details.