Closed shakfu closed 11 months ago
This looks good. Which minimal version of PortAudio is needed then ?
Can we maintain retro-compatible code ? working with old and newer model ?
This looks good. Which minimal version of PortAudio is need
I think you mean RtAudio
, well, I checked when the rtaudio noexception
branch was merged into the main branch and it was in November 19 2021 and from this you can see that basically pre-merge the version was 0.5.2 and then the version went up to 6.0.0 with the merge when exceptions were removed.
I will revisit this with a check for RTAUDIO_VERSION_MAJOR
: 5 is with exceptions, 6 is without.
typo RtAudio tes, OK for testing RTAUDIO_VERSION_MAJOR
. Then can you make a proper PR ? Thanks.
I encountered some recent issues with the
rtaudio
driverfaust/architectures/faust/audio/rtaudio-dsp.h
since it uses exceptions whereas the current version does not.The fix is quite basic: replace exceptions with the current system based on
RtAudioErrorType
. Please see below the diff for the fix (which is also attached):rtaudio-dsp-fix.patch
rtaudio-dsp.h.zip