Bugzilla – Bug 989
Stop-and-set-cursor is imprecise
Last modified: 2019-05-27 10:38:05 UTC
I think I can figure this one out.
This was observed on Windows. I can't speak for the others.
I tried a few things and I am less confident of a fix.
Aha! AudioIO::StopStream() calls Pa_AbortStream(). Change that to Pa_StopStream(). That waits to flush the output our callback has written, rather than discarding it. That may make a difference of tens of millliseconds of play. That solves part of the problem, the missing playback. But I think there may be remaining reasons for imprecision of the stopping point.
Testing on W10 with audacity-2.3.3-alpha-256-ac65d817acdc76466af9f49b1681e1abf2c39fc0 Following the Steps this works fine. Alos I use "X" shortcut a 8lot* in Real-Life production work and I never notice any imporecision