1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 08:33:36 +02:00

Fix precision of right edge of punch-in when not overdubbing too

This commit is contained in:
Paul Licameli
2018-05-26 23:59:21 -04:00
parent f0ebf5823a
commit f32073412b

View File

@@ -1941,7 +1941,7 @@ int AudioIO::StartStream(const WaveTrackConstArray &playbackTracks,
DEFAULT_LATENCY_CORRECTION))
/ 1000.0;
mRecordingSchedule.mDuration = mT1 - mT0;
if (captureTracks.size() > 0 && playbackTracks.size() > 0)
if (captureTracks.size() > 0)
// adjust mT1 so that we don't give paComplete too soon to fill up the
// desired length of recording
mT1 -= mRecordingSchedule.mLatencyCorrection;