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.
This commit is contained in:
David Reid
2026-01-07 12:36:18 +10:00
parent 53116ad6da
commit 5f3de510b2
+1 -1
View File
@@ -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;
}