rtaudio

A set of C++ classes that provide a common API for realtime audio input/output across Linux (native ALSA, JACK, PulseAudio and OSS), Macintosh OS X (CoreAudio and JACK), and Windows (DirectSound, ASIO, and WASAPI) operating systems.

Latest version: 6.0.1

Add to xmake.lua

add_requires("rtaudio 6.0.1")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2024-01-12T01:49:28.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec
  • macosx: x86_64, arm64

Options

alsa
Build ALSA API · Type: boolean · Default: false
asio
Build ASIO API · Type: boolean · Default: false
jack
Build JACK audio server API · Type: boolean · Default: false
pulseaudio
Build PulseAudio API · Type: boolean · Default: false

Versions

  • 6.0.0
  • 6.0.1

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "rtaudio 6.0.1"

show info

xrepo info "rtaudio"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("rtaudio 6.0.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("rtaudio")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "rtaudio 6.0.1" shell