From 4ab9d4f2b294a1184e960d37688e27827174ad1b Mon Sep 17 00:00:00 2001 From: "@ragot" Date: Fri, 22 Aug 2025 14:45:48 +0200 Subject: [PATCH] Bug fixed - Left and right channels inverted --- lib_enc/ivas_stereo_dmx_evs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_enc/ivas_stereo_dmx_evs.c b/lib_enc/ivas_stereo_dmx_evs.c index 93c91411d..edcc9f5fb 100644 --- a/lib_enc/ivas_stereo_dmx_evs.c +++ b/lib_enc/ivas_stereo_dmx_evs.c @@ -605,11 +605,11 @@ static void calc_poc( /* Channel selection based on ILD */ if ( hPHA->trns_aux_energy[0] > hPHA->trns_aux_energy[1] * hPHA->pha_ipd_ild_thresh ) { - pha_ipd_ild_chan2rephase = 0; + pha_ipd_ild_chan2rephase = 1; } else if ( hPHA->trns_aux_energy[1] > hPHA->trns_aux_energy[0] * hPHA->pha_ipd_ild_thresh ) { - pha_ipd_ild_chan2rephase = 1; + pha_ipd_ild_chan2rephase = 0; } else { -- GitLab