mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Undo Workaround for Bug 1969
Turned out this was not the correct fix.
This commit is contained in:
parent
942ddac705
commit
ff01d39601
@ -1567,16 +1567,10 @@ bool AudioIO::StartPortAudioStream(double sampleRate,
|
|||||||
playbackParameters.hostApiSpecificStreamInfo = NULL;
|
playbackParameters.hostApiSpecificStreamInfo = NULL;
|
||||||
playbackParameters.channelCount = mNumPlaybackChannels;
|
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)
|
if (mSoftwarePlaythrough)
|
||||||
playbackParameters.suggestedLatency =
|
playbackParameters.suggestedLatency =
|
||||||
playbackDeviceInfo->defaultLowOutputLatency;
|
playbackDeviceInfo->defaultLowOutputLatency;
|
||||||
else
|
else {
|
||||||
#endif
|
|
||||||
{
|
|
||||||
// When using WASAPI, the suggested latency does not affect
|
// When using WASAPI, the suggested latency does not affect
|
||||||
// the latency of the playback, but the position of playback is given as if
|
// 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"
|
// there was the suggested latency. This results in the last "suggested latency"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user