From 62d64d14bd03aede2e34a0ef075e3477ffba4ddd Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 18 Feb 2025 17:26:53 +1000 Subject: [PATCH] Fix an error with band-pass filters. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index bea8d854..49fe4178 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -47800,7 +47800,7 @@ static ma_result ma_bpf_get_heap_layout(const ma_bpf_config* pConfig, ma_bpf_hea return MA_INVALID_ARGS; } - bpf2Count = pConfig->channels / 2; + bpf2Count = pConfig->order / 2; pHeapLayout->sizeInBytes = 0;