mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AAX: Fixed a ppqPosition bug
This commit is contained in:
parent
c8bceee365
commit
379e8410fb
1 changed files with 6 additions and 1 deletions
|
|
@ -1004,7 +1004,12 @@ namespace AAXClasses
|
|||
info.timeInSeconds = info.timeInSamples / sampleRate;
|
||||
|
||||
int64_t ticks = 0;
|
||||
check (transport.GetCurrentTickPosition (&ticks));
|
||||
|
||||
if (info.isPlaying)
|
||||
check (transport.GetCustomTickPosition (&ticks, info.timeInSamples));
|
||||
else
|
||||
check (transport.GetCurrentTickPosition (&ticks));
|
||||
|
||||
info.ppqPosition = ticks / 960000.0;
|
||||
|
||||
info.isLooping = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue