Skip to content

AU Host: Implement reset() on hosted AudioUnit instances - #1735

Open
jdf wants to merge 1 commit into
juce-framework:developfrom
jdf:audiounit-host-reset
Open

AU Host: Implement reset() on hosted AudioUnit instances#1735
jdf wants to merge 1 commit into
juce-framework:developfrom
jdf:audiounit-host-reset

Conversation

@jdf

@jdf jdf commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #1732.

AudioUnitPluginInstance never overrides reset(), so AudioProcessor::reset() on a hosted AudioUnit is the base class's no-op and the plugin keeps whatever it was doing, where the VST3 host's reset() deactivates and reactivates the instance. The override sends AudioUnitReset on the global scope and then on every bus, the same calls releaseResources() makes, guarded by prepared.

Verified with a measurement host rendering a compressor's gain ladder fresh and again after two seconds at full scale and a reset(): through AU the second ladder's first rungs no longer carry the first ladder's release, and match the VST3 build's.

@jdf
jdf force-pushed the audiounit-host-reset branch from 4d01fab to 7d63f29 Compare September 7, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant