I am getting an error during the construction of RtAudio:
RtApiCore::probeDeviceInfo: system error (CoreAudio unknown error) getting sample rate info.
I am passing an error handler to the constructor which should handle the error but in the constructor of RtAudio (
) the
openRtApi() function is called, and
then if successful, we set the error callback.
I think you might have to forward the error handler into openRtApi() and each API's constructor to avoid this.
Right now the only workaround I have is to redirect stderr at a system level during construction of RtAudio, or else to use terminal commands to save the cursor location before construction and then after construction to reset the cursor and clear the error message, although this gives a brief flash of the error text.
I am getting an error during the construction of RtAudio:
I am passing an error handler to the constructor which should handle the error but in the constructor of RtAudio (
rtaudio/RtAudio.cpp
Line 600 in 409636b
openRtApi()function is called, and then if successful, we set the error callback.I think you might have to forward the error handler into
openRtApi()and each API's constructor to avoid this.Right now the only workaround I have is to redirect
stderrat a system level during construction of RtAudio, or else to use terminal commands to save the cursor location before construction and then after construction to reset the cursor and clear the error message, although this gives a brief flash of the error text.