Introduce AudioBus role and unify and fix parameter and state handling across VST3, CLAP and AUv3 - #166
Merged
Merged
Conversation
This was
linked to
issues
Aug 2, 2026
Closed
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #166 +/- ##
==========================================
+ Coverage 80.15% 80.18% +0.03%
==========================================
Files 763 766 +3
Lines 78360 78537 +177
==========================================
+ Hits 62808 62977 +169
- Misses 15552 15560 +8
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces major improvements to plugin bypass handling and audio bus support across multiple plugin formats, along with several technical and build system refinements. The most significant changes are the addition of sidechain and multi-bus audio input support, improved handling and testing of plugin bypass, and various refactorings to standardize plugin instantiation and bus handling in the AU and AAX wrappers.
Audio Bus and Sidechain Support:
AudioBusnow includes aRole(Main/Auxiliary) andisDefaultActive.AudioProcessContextexposes per-businputs/outputsviaAudioBusBufferView, with accessors for main and auxiliary buses. Secondary input buses are now forwarded to the processor instead of being discarded. [1] [2] [3] [4] [5] [6] [7] [8]Plugin Bypass Handling:
processBlockBypassed, with host bypass state persisted/restored inside theYUPProcessorStateblob. Legacy raw processor state still loads.processBlockBypassed, bypass state round-trip, and text/value conversion.Plugin Wrapper Refactoring:
createPluginProcessorwithYUP_AUDIO_PLUGIN_CREATE_FUNCTIONand updating all references. [1] [2] [3] [4] [5]Build System and Platform Integration:
YUP_ENABLE_CORE_AUDIO_LOGGINGto0to reduce log verbosity on macOS.Audio Unit Parameter Handling:
These changes significantly enhance plugin host compatibility, especially for advanced routing scenarios, and improve the maintainability and clarity of the codebase.