Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

134.5. libao-1.2.2

Audio output library over ALSA and PulseAudio

1.2.2-1 · GPL-2.0-or-later · 0.4 SBU · 149.6 KiB, 16 files · 41_system, 126 of 1047 · ports/core/audio-io/libao

Homepage: https://xiph.org/ao/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/audio-io.txt:

One output API over ALSA, so the players that link it need no backend each.

Depends on: alsa-lib, libpulse, autoconf, automake, libtool.

Required by (2): cdrdao, vorbis-tools.

Sources: libao-1.2.2.tar.gz (93.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libao'

build.sh:

export CFLAGS="$CFLAGS -include time.h"
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib --disable-static \
	--enable-alsa --enable-pulse --disable-esd --disable-arts --disable-nas
make
make DESTDIR=$PKG install

Libraries: libao.so.

Directories: /usr/include/ao, /usr/lib/ao, /usr/lib/ckport, /usr/share/doc/libao-1.2.2, /usr/share/licenses/libao.