1
0
Fork 0
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:
jules 2014-01-09 21:19:26 +00:00
parent a79292179d
commit 78c2d48d9e

View file

@ -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, &param);
}
const String getParameterName (int index) override