1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 00:59:43 +02:00

Bug1791: Quick-play looped should begin where you pick...

... Was broken at commit 2cbdd1cc4319da11d82
This commit is contained in:
Paul Licameli 2017-11-29 11:14:31 -05:00
parent d5547a7865
commit db2074dfc2

View File

@ -2780,8 +2780,9 @@ void AdornedRulerPanel::StartQPPlay(bool looped, bool cutPreview)
AudioIOStartStreamOptions options(mProject->GetDefaultPlayOptions());
options.playLooped = (loopEnabled && looped);
auto oldStart = mPlayRegionStart;
if (!cutPreview)
options.pStartTime = &mPlayRegionStart;
options.pStartTime = &oldStart;
else
options.timeTrack = NULL;