-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Description
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 (
Line 600 in 409636b
| openRtApi( api ); |
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.
Metadata
Metadata
Assignees
Labels
No labels