From e2e839e31a1edd0ccf10f897b935cbd6336e36ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Bro=20Kolst=C3=B8?= Date: Thu, 6 Jun 2024 10:44:19 +0200 Subject: [PATCH] Add missing handling of LOUDSPEAKER_ARRAY_PRESET_STEREO in ambi_dec --- examples/src/ambi_dec/ambi_dec_internal.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/src/ambi_dec/ambi_dec_internal.c b/examples/src/ambi_dec/ambi_dec_internal.c index 3bd6afed2..dbb25103d 100644 --- a/examples/src/ambi_dec/ambi_dec_internal.c +++ b/examples/src/ambi_dec/ambi_dec_internal.c @@ -131,6 +131,12 @@ void loadLoudspeakerArrayPreset /* fall through */ case LOUDSPEAKER_ARRAY_PRESET_DEFAULT: /* fall through */ + case LOUDSPEAKER_ARRAY_PRESET_STEREO: + nCH = 2; + for(ch=0; ch