mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AUv3: Add timestamps to all parameter changes when possible
This commit is contained in:
parent
be119c7f7d
commit
0f06f45098
1 changed files with 5 additions and 5 deletions
|
|
@ -982,17 +982,17 @@ public:
|
|||
{
|
||||
const auto value = (newValue != nullptr ? *newValue : juceParam->getValue()) * getMaximumParameterValue (juceParam);
|
||||
|
||||
if (type == AUParameterAutomationEventTypeValue)
|
||||
{
|
||||
[param setValue: value originator: editorObserverToken];
|
||||
}
|
||||
else if (@available (macOS 10.12, *))
|
||||
if (@available (macOS 10.12, *))
|
||||
{
|
||||
[param setValue: value
|
||||
originator: editorObserverToken
|
||||
atHostTime: lastTimeStamp.mHostTime
|
||||
eventType: type];
|
||||
}
|
||||
else if (type == AUParameterAutomationEventTypeValue)
|
||||
{
|
||||
[param setValue: value originator: editorObserverToken];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue