Add ProcessContext parameter setting support #238
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.
Implement the TODO from src/context/process.rs to add parameter setting capabilities to ProcessContext, enabling plugins to update parameters from the audio thread with proper host notification.
This allows MIDI CC events in the audio thread to record automation and update the GUI in the DAW, similar to how GuiContext works but optimized for real-time safety using lock-free queues.
Changes:
Implementation details:
This resolves the long-standing limitation where MIDI CC parameter changes in plugins couldn't notify the host for automation recording.
Tested with: B3 November Hammond organ emulator
Host tested: Reaper (CLAP format)