Fix an error with band-pass filters.

This commit is contained in:
David Reid
2025-02-18 17:26:53 +10:00
parent cf9371748a
commit 62d64d14bd
+1 -1
View File
@@ -47800,7 +47800,7 @@ static ma_result ma_bpf_get_heap_layout(const ma_bpf_config* pConfig, ma_bpf_hea
return MA_INVALID_ARGS; return MA_INVALID_ARGS;
} }
bpf2Count = pConfig->channels / 2; bpf2Count = pConfig->order / 2;
pHeapLayout->sizeInBytes = 0; pHeapLayout->sizeInBytes = 0;