mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Better mechanism for sending all-parameter-changed messages in AU hosting.
This commit is contained in:
parent
a79292179d
commit
78c2d48d9e
1 changed files with 7 additions and 2 deletions
|
|
@ -653,8 +653,13 @@ public:
|
|||
|
||||
void sendAllParametersChangedEvents()
|
||||
{
|
||||
for (int i = 0; i < parameters.size(); ++i)
|
||||
sendParameterChangeEvent (i);
|
||||
jassert (audioUnit != nullptr);
|
||||
|
||||
AudioUnitParameter param;
|
||||
param.mAudioUnit = audioUnit;
|
||||
param.mParameterID = kAUParameterListener_AnyParameter;
|
||||
|
||||
AUParameterListenerNotify (nullptr, nullptr, ¶m);
|
||||
}
|
||||
|
||||
const String getParameterName (int index) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue