diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp index ab7fe941d..5a9b1f344 100644 --- a/src/AudioIO.cpp +++ b/src/AudioIO.cpp @@ -1937,7 +1937,7 @@ int AudioIO::StartStream(const WaveTrackConstArray &playbackTracks, mT1 = t1; mRecordingSchedule = {}; mRecordingSchedule.mLatencyCorrection = - (gPrefs->Read(wxT("/AudioIO/LatencyCorrection"), + (gPrefs->ReadDouble(wxT("/AudioIO/LatencyCorrection"), DEFAULT_LATENCY_CORRECTION)) / 1000.0; mRecordingSchedule.mDuration = mT1 - mT0;