From 0b5430572d32b9ead68baaaf32163cc103ff03d5 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 18 Jul 2025 15:18:58 +1000 Subject: [PATCH] JACK: Fix a copy/paste error. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index fe041111..7ef740aa 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -33750,7 +33750,7 @@ static ma_result ma_device_init__jack(ma_device* pDevice, const void* pDeviceBac } /* Need to count the number of ports first so we can allocate some memory. */ - while (ppPorts[pDescriptorPlayback->channels] != NULL && (desiredChannelCount == 0 || desiredChannelCount > pDescriptorCapture->channels)) { + while (ppPorts[pDescriptorPlayback->channels] != NULL && (desiredChannelCount == 0 || desiredChannelCount > pDescriptorPlayback->channels)) { pDescriptorPlayback->channels += 1; }