From b41b141b625727c87ae168040a0ddb32e32a0f16 Mon Sep 17 00:00:00 2001 From: Be Date: Wed, 12 May 2021 19:17:10 -0500 Subject: [PATCH] MME: fix comparison of IO buffer sizes in CalculateBufferSettings() (#571) Pull in fix from Audacity: https://bugzilla.audacityteam.org/show_bug.cgi?id=1969 The problem was some kind of typo, comparing pointers instead of the values of pointers. --- src/hostapi/wmme/pa_win_wmme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index f8b1d7e4e..1d928eb33 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -1729,7 +1729,7 @@ static PaError CalculateBufferSettings( if( *hostFramesPerOutputBuffer != *hostFramesPerInputBuffer ) { - if( hostFramesPerInputBuffer < hostFramesPerOutputBuffer ) + if( *hostFramesPerInputBuffer < *hostFramesPerOutputBuffer ) { *hostFramesPerOutputBuffer = *hostFramesPerInputBuffer;