From 793c7ffc187c7c622c761d95fd7bf44824c19faa Mon Sep 17 00:00:00 2001 From: petris Date: Thu, 18 Feb 2021 12:40:26 +0100 Subject: [PATCH] WASAPI final whitespace fix --- src/hostapi/wasapi/pa_win_wasapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hostapi/wasapi/pa_win_wasapi.c b/src/hostapi/wasapi/pa_win_wasapi.c index 0cd59bb..c76f302 100644 --- a/src/hostapi/wasapi/pa_win_wasapi.c +++ b/src/hostapi/wasapi/pa_win_wasapi.c @@ -3156,7 +3156,7 @@ static PaUint32 _GetFramesPerHostBuffer(PaUint32 userFramesPerBuffer, PaTime sug } // ------------------------------------------------------------------------------------------ -static void _RecalculateBuffersCount(PaWasapiSubStream *sub, UINT32 userFramesPerBuffer, UINT32 framesPerLatency, +static void _RecalculateBuffersCount(PaWasapiSubStream *sub, UINT32 userFramesPerBuffer, UINT32 framesPerLatency, BOOL fullDuplex, BOOL output) { // Count buffers (must be at least 1) @@ -3177,9 +3177,9 @@ static void _RecalculateBuffersCount(PaWasapiSubStream *sub, UINT32 userFramesPe if (eventMode) sub->userBufferAndHostMatch = 1; - // Full-duplex or Event mode: prefer paUtilBoundedHostBufferSize because exclusive mode will starve + // Full-duplex or Event mode: prefer paUtilBoundedHostBufferSize because exclusive mode will starve // and produce glitchy audio - // Output Polling mode: prefer paUtilFixedHostBufferSize (buffers != 1) for polling mode is it allows + // Output Polling mode: prefer paUtilFixedHostBufferSize (buffers != 1) for polling mode is it allows // to consume user data by fixed size data chunks and thus lowers memory movement (less CPU usage) if (fullDuplex || eventMode || !output) sub->buffers = 1; -- 2.43.0