diff --git a/lib-src/portaudio-v19/src/hostapi/wmme/pa_win_wmme.c b/lib-src/portaudio-v19/src/hostapi/wmme/pa_win_wmme.c index 121c4f4c6..9c5c110b3 100644 --- a/lib-src/portaudio-v19/src/hostapi/wmme/pa_win_wmme.c +++ b/lib-src/portaudio-v19/src/hostapi/wmme/pa_win_wmme.c @@ -1751,7 +1751,11 @@ static PaError CalculateBufferSettings( if( *hostFramesPerOutputBuffer != *hostFramesPerInputBuffer ) { - if( hostFramesPerInputBuffer < hostFramesPerOutputBuffer ) +// JKC: Patched By Audacity. Our Bug 1969 +// Previously this line incorrectly read: +// if( hostFramesPerInputBuffer < hostFramesPerOutputBuffer ) +// So it was comparing pointers, rather than the values pointed to. + if( *hostFramesPerInputBuffer < *hostFramesPerOutputBuffer ) { *hostFramesPerOutputBuffer = *hostFramesPerInputBuffer;