Commit a7da8fbc authored by multrus's avatar multrus
Browse files

Merge branch '549-paramism-output-too-quiet' into 'main'

[non-BE] Resolve "ParamISM binaural output too quiet"

See merge request !866
parents 9e4a32f5 69ca12ac
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,9 +202,9 @@
#define FIX_626_VARIABLE_TYPE_MDCT_CONC                 /* FhG: trivial fix to fix USAN error */

#define FIX_616_DIV_ZERO_MCT                            /*FhG : Fix UBSAN division by zero error of issue 616*/

#define FIX617_UBSAN_DIVBYZERO_STEREOCNG                /* Eri: Issue 617: Decoder UBSAN: division by zero in stereo cng when inut is 16kHz and output is 32kHz */
#define FIX_279_CODE_COVERAGE                           /* Dlb : issue 279 , clean up unused function */
#define FIX_549_PARAM_ISM_BIN_GAIN                      /* FhG: Issue 549 : fix too quiet binaural output in ParamISM */

/* ################## End BE DEVELOPMENT switches ######################### */

+5 −0
Original line number Diff line number Diff line
@@ -212,6 +212,11 @@ ivas_error ivas_dec(
        {
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC || st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || st_ivas->renderer_type == RENDERER_STEREO_PARAMETRIC )
            {
#ifdef FIX_549_PARAM_ISM_BIN_GAIN
                /* loudness correction */
                ivas_dirac_dec_binaural_sba_gain( output, st_ivas->nchan_transport, output_frame );
#endif

                ivas_param_ism_params_to_masa_param_mapping( st_ivas );

                ivas_dirac_dec_binaural( st_ivas, st_ivas->hCombinedOrientationData, output, st_ivas->nchan_transport );