Commit b5cba1f0 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

invert azimuth angle for panning objects to MC layout for BINAURAL_ROOM_IR rendering in OSBA mode

parent 4607f48f
Loading
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -771,9 +771,18 @@ void ivas_ism_dec_digest_tc(

                    if ( st_ivas->hEFAPdata != NULL )
                    {
#ifdef NONBE_FIX_1141_OSBA_ROOM_RENDERING
						if (st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_SBA_MODE_DISC)
						{
							efap_determine_gains(st_ivas->hEFAPdata, st_ivas->hIsmRendererData->gains[i], -azimuth, elevation, EFAP_MODE_EFAP);
						}
						else
#endif
						{
							efap_determine_gains( st_ivas->hEFAPdata, st_ivas->hIsmRendererData->gains[i], azimuth, elevation, EFAP_MODE_EFAP );
						}
                    }
                }
                else if ( st_ivas->renderer_type == RENDERER_SBA_LINEAR_ENC ||
                          st_ivas->renderer_type == RENDERER_OSBA_AMBI ||
                          st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV )