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

134.7. rtaudio-6.0.1

C++ real-time audio I/O classes over ALSA and PulseAudio

6.0.1-1 · MIT · 0.2 SBU · 207.1 KiB, 7 files · 41_system, 164 of 1047 · ports/core/audio-io/rtaudio

Homepage: https://www.music.mcgill.ca/~gary/rtaudio/

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

Built ahead of pipewire's libjack, so its JACK API is off: sound reaches PipeWire through ALSA and pipewire-pulse.

Depends on: meson, ninja, pkgconf, alsa-lib, libpulse.

Required by (2): mlt, sdrpp.

Sources: rtaudio-6.0.1.tar.gz (248.7 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

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

build.sh:

meson setup build --prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release -Ddefault_library=shared \
	-Djack=disabled -Dalsa=enabled -Dpulse=enabled -Doss=false \
	-Dcore=disabled -Ddsound=disabled -Dasio=disabled -Dwasapi=disabled \
	-Ddocs=false -Dinstall_docs=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: librtaudio.so.

Directories: /usr/include/rtaudio, /usr/share/licenses/rtaudio.