-
-
Notifications
You must be signed in to change notification settings - Fork 318
Update RtAudio and RtMidi to latest version #1289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update RtAudio and RtMidi to latest version #1289
Conversation
olilarkin
commented
Dec 9, 2025
- Vendor RtAudio 6.0.1 (from 5.1.0)
- Vendor RtMidi 6.0.0
- Add Steinberg ASIO SDK 2.3 from https://github.com/audiosdk/asio
- Update IPlugAPP to support RtAudio 6.x API changes:
- Use getDeviceIds() instead of getDeviceCount() + index
- Replace RtAudioError exceptions with RtAudioErrorType return values
- Use std::map for device ID to name mapping
- Remove probed field checks (devices from getDeviceIds() are already probed)
- Removed unnecessary docs, tests, and autotools files from vendored deps
- Kept CMake build scripts for both libraries
- Vendor RtAudio 6.0.1 (from 5.1.0) - Vendor RtMidi 6.0.0 - Add Steinberg ASIO SDK 2.3 from https://github.com/audiosdk/asio - Update IPlugAPP to support RtAudio 6.x API changes: - Use getDeviceIds() instead of getDeviceCount() + index - Replace RtAudioError exceptions with RtAudioErrorType return values - Use std::map for device ID to name mapping - Remove probed field checks (devices from getDeviceIds() are already probed) - Removed unnecessary docs, tests, and autotools files from vendored deps - Kept CMake build scripts for both libraries
PR Review: Update RtAudio and RtMidi to latest versionOverviewThis PR updates RtAudio from 5.1.0 to 6.0.1 and RtMidi to 6.0.0, along with adding the ASIO SDK 2.3. The core implementation changes in IPlugAPP correctly adapt to the new RtAudio 6.x API. ✅ Positive FindingsCode Quality
Best Practices
|
Implement ErrorCallback with DBGMSG logging instead of empty TODO
Fix AppState copy constructor: use mAudioOutChanL/R instead of mAudioInChanL/R This was a pre-existing bug where output channel assignments incorrectly copied from input channel values.
Register ErrorCallback with RtAudio after DAC creation RtAudio 6.x requires the error callback to be set separately via setErrorCallback() rather than passed to the constructor.
Pull Request Review: Update RtAudio and RtMidi to Latest VersionOverviewThis PR updates RtAudio from 5.1.0 to 6.0.1 and RtMidi to 6.0.0, adds the ASIO SDK 2.3, and updates IPlugAPP to work with the RtAudio 6.x API changes. The changes are substantial (337 files, +12K/-111K lines) but largely consist of vendored library updates. Code Quality & Best Practices✅ Strengths
|