From ff01d39601a58ef6576389d4a63cf21d635e32c5 Mon Sep 17 00:00:00 2001 From: James Crook Date: Sat, 8 Sep 2018 23:17:20 +0100 Subject: [PATCH] Undo Workaround for Bug 1969 Turned out this was not the correct fix. --- src/AudioIO.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/AudioIO.cpp b/src/AudioIO.cpp index 5eeedbd03..c59b13c20 100644 --- a/src/AudioIO.cpp +++ b/src/AudioIO.cpp @@ -1567,16 +1567,10 @@ bool AudioIO::StartPortAudioStream(double sampleRate, playbackParameters.hostApiSpecificStreamInfo = NULL; playbackParameters.channelCount = mNumPlaybackChannels; -// Workaround for bug 1969. -// PortAudio appears to be reporting too high a value for LowOuputLatency -// in release builds. The Workaround is don't use it. -#if 0 if (mSoftwarePlaythrough) playbackParameters.suggestedLatency = playbackDeviceInfo->defaultLowOutputLatency; - else -#endif - { + else { // When using WASAPI, the suggested latency does not affect // the latency of the playback, but the position of playback is given as if // there was the suggested latency. This results in the last "suggested latency"