Skip to content

Commit

Permalink
Implement clap_plugin_t::reset as juce::AudioProcessor::reset (#160)
Browse files Browse the repository at this point in the history
Relatively straight forward
  • Loading branch information
baconpaul authored Dec 30, 2024
1 parent d3bc57b commit 4f33b49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/wrapper/clap-juce-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@ class ClapJuceWrapper : public clap::helpers::Plugin<
return true;
}

void reset() noexcept override
{
processor->reset();
}

public:
bool implementsTimerSupport() const noexcept override { return true; }
void onTimer(clap_id timerId) noexcept override
Expand Down

0 comments on commit 4f33b49

Please sign in to comment.