mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-23 15:50:05 +02:00
Playback cursor jitter when scrubbing backwards
Currently the jitter in the playback cursor is worse when scrubbing backwards than forwards. Fix: In AudioIOBase::PlaybackSchedule::AdvancedTrackTime() in the line: time += realElapsed * speed; realElapsed is negative when scrubbing backwards, so need fabs(speed) rather than just speed.
This commit is contained in:
parent
70bbfb69d5
commit
55e44cdc83
@ -1275,7 +1275,7 @@ double AudioIOBase::PlaybackSchedule::AdvancedTrackTime(
|
|||||||
} while ( true );
|
} while ( true );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
time += realElapsed * speed;
|
time += realElapsed * fabs(speed);
|
||||||
|
|
||||||
// Wrap to start if looping
|
// Wrap to start if looping
|
||||||
if (Looping()) {
|
if (Looping()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user