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.
Other
1.49k
stars
318
forks
source link
Pkgconfig file missing CoreAudio linking flags on macOS #302
This is the pkgconfig file you get when installing RtAudio with brew on macOS:
prefix=/usr/local/Cellar/rt-audio/5.1.0_1
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/rtaudio
Name: librtaudio
Description: RtAudio - a set of C++ classes that provide a common API for realtime audio input/output
Version: 5.1.0
Requires:
Libs: -L${libdir} -lrtaudio
Libs.private: -lpthread
Cflags: -pthread -I${includedir} -D__MACOSX_CORE__
The define says it's using the CoreAudio backend but it misses the linking flags for the CoreAudio framework. I think `-framework CoreAudio' has to be added to Libs.
This is the pkgconfig file you get when installing RtAudio with brew on macOS:
The define says it's using the CoreAudio backend but it misses the linking flags for the CoreAudio framework. I think `-framework CoreAudio' has to be added to Libs.