mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AAX: Set AudioPlayHead's editOriginTime even if the effectiveRate is zero
This commit is contained in:
parent
447c760be3
commit
75f9cc0e22
1 changed files with 1 additions and 1 deletions
|
|
@ -1140,7 +1140,7 @@ namespace AAXClasses
|
|||
}
|
||||
|
||||
const auto effectiveRate = info.getFrameRate().hasValue() ? info.getFrameRate()->getEffectiveRate() : 0.0;
|
||||
info.setEditOriginTime (effectiveRate != 0.0 ? makeOptional (offset / effectiveRate) : nullopt);
|
||||
info.setEditOriginTime (makeOptional (effectiveRate != 0.0 ? offset / effectiveRate : offset));
|
||||
|
||||
return info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue