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
`RtApiAlsa::startStream()`, `stopStream()`, and `abortStream()` return RTAUDIO_SYSTEM_ERROR on success #342
I believe this is caused by a typo in each of these functions when checking the
result
variable. ALSA functions return negative on error and 0 on success.if (result >= 0)
should beif (result < 0)
. e.g. https://github.com/thestk/rtaudio/blob/f9fd8726ccb688baa43aaae642179a69d353f6d2/RtAudio.cpp#L8280