From 5f3de510b239da9e9a319349cdc9f88171002a85 Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 7 Jan 2026 12:36:18 +1000 Subject: [PATCH] Make ma_is_spatial_channel_position() a bit more robust. This makes it less error prone when new channel positions are added to the enum. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 2b12ef8c..8c1e70bb 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -54408,7 +54408,7 @@ static ma_bool32 ma_is_spatial_channel_position(ma_channel channelPosition) return MA_FALSE; } - if (channelPosition >= MA_CHANNEL_AUX_0 && channelPosition <= MA_CHANNEL_AUX_31) { + if (channelPosition >= MA_CHANNEL_AUX_0) { return MA_FALSE; }