From 9b66a480c7e05408c2111f5ffe201e16443a00a2 Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 4 Feb 2026 12:45:20 +1000 Subject: [PATCH] Fix a bug with channel map retrieval with the channel converter. This had the input and output channel maps the wrong way around. --- miniaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 447a8129..ca3d1f66 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -62902,7 +62902,7 @@ MA_API ma_result ma_data_converter_get_input_channel_map(const ma_data_converter } if (pConverter->hasChannelConverter) { - ma_channel_converter_get_output_channel_map(&pConverter->channelConverter, pChannelMap, channelMapCap); + ma_channel_converter_get_input_channel_map(&pConverter->channelConverter, pChannelMap, channelMapCap); } else { ma_channel_map_init_standard(ma_standard_channel_map_default, pChannelMap, channelMapCap, pConverter->channelsOut); } @@ -62917,7 +62917,7 @@ MA_API ma_result ma_data_converter_get_output_channel_map(const ma_data_converte } if (pConverter->hasChannelConverter) { - ma_channel_converter_get_input_channel_map(&pConverter->channelConverter, pChannelMap, channelMapCap); + ma_channel_converter_get_output_channel_map(&pConverter->channelConverter, pChannelMap, channelMapCap); } else { ma_channel_map_init_standard(ma_standard_channel_map_default, pChannelMap, channelMapCap, pConverter->channelsIn); }