mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Don't lose the fractional part of latency prefernce setting!
This commit is contained in:
parent
f52b53fc50
commit
f355320e5d
@ -1937,7 +1937,7 @@ int AudioIO::StartStream(const WaveTrackConstArray &playbackTracks,
|
|||||||
mT1 = t1;
|
mT1 = t1;
|
||||||
mRecordingSchedule = {};
|
mRecordingSchedule = {};
|
||||||
mRecordingSchedule.mLatencyCorrection =
|
mRecordingSchedule.mLatencyCorrection =
|
||||||
(gPrefs->Read(wxT("/AudioIO/LatencyCorrection"),
|
(gPrefs->ReadDouble(wxT("/AudioIO/LatencyCorrection"),
|
||||||
DEFAULT_LATENCY_CORRECTION))
|
DEFAULT_LATENCY_CORRECTION))
|
||||||
/ 1000.0;
|
/ 1000.0;
|
||||||
mRecordingSchedule.mDuration = mT1 - mT0;
|
mRecordingSchedule.mDuration = mT1 - mT0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user