From 4bb8808bfb35d4527f857f1b447b1f4d5ddfb163 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 5 Jan 2023 09:37:39 +1000 Subject: [PATCH] Remove an unnecessary restriction on splitters. --- miniaudio.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 4c5ef1b6..fb06b01e 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -71565,8 +71565,7 @@ static void ma_splitter_node_process_pcm_frames(ma_node* pNode, const float** pp ma_uint32 channels; MA_ASSERT(pNodeBase != NULL); - MA_ASSERT(ma_node_get_input_bus_count(pNodeBase) == 1); - MA_ASSERT(ma_node_get_output_bus_count(pNodeBase) >= 2); + MA_ASSERT(ma_node_get_input_bus_count(pNodeBase) == 1); /* We don't need to consider the input frame count - it'll be the same as the output frame count and we process everything. */ (void)pFrameCountIn;