/usr/bin/rtaudio-config is in librtaudio-dev 4.1.1~ds0-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #! /bin/sh
if (test "x$#" != "x1") ; then
echo "Usage: $0 [--libs | --cxxflags | --cppflags]"
exit;
fi
LIBRARY="-lpthread -lasound -lasound -ljack -L/usr/lib -lpulse-simple -lpulse"
CXXFLAGS="-g -Wall -Wextra"
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D__RTAUDIO_DEBUG__ -DHAVE_GETTIMEOFDAY -D__UNIX_JACK__ -D__LINUX_ALSA__ -D__LINUX_PULSE__"
if (test "x$1" = "x--libs") ; then
echo "$LIBRARY -lrtaudio"
elif (test "x$1" = "x--cxxflags") ; then
echo "$CXXFLAGS"
elif (test "x$1" = "x--cppflags") ; then
echo "$CPPFLAGS"
else
echo "Unknown option: $1"
fi
|