mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user