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

scale EXT output by 0.5 in OSBA high-BR mode

parent 0bd4a32e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -176,7 +176,7 @@
#define NONBE_1250_MCMASA_LS_OUTPUT                     /* VA: issue 1250: fix crash in McMASA to custom LS output decoding */
#define NONBE_1250_MCMASA_LS_OUTPUT                     /* VA: issue 1250: fix crash in McMASA to custom LS output decoding */
#define NONBE_1302_FIX_OMASA_JBM_FLUSH                  /* VA: issue 1302: fix OMASA JBM bitrate switching flush in binaural output */
#define NONBE_1302_FIX_OMASA_JBM_FLUSH                  /* VA: issue 1302: fix OMASA JBM bitrate switching flush in binaural output */
#define NONBE_1324_TC_BUFFER_MEMOERY_KEEP               /* VA: issue 1324: do not reset TSM memory in JBM bitrate switching */
#define NONBE_1324_TC_BUFFER_MEMOERY_KEEP               /* VA: issue 1324: do not reset TSM memory in JBM bitrate switching */
#define NONBE_FIX_1337_MISSING_DIRECTIVITY_DISTATT_EXTREND /* Eri: issue 1337: Missing directivity setting and distance attenuation in external renderer IVAS_rend */
#define NONBE_1339_FIXOSBA_EXT_LOUDNESS                 /* FhG: issue 1339: apply scaling with EXT output in OSBA high-BR mode */


/* ##################### End NON-BE switches ########################### */
/* ##################### End NON-BE switches ########################### */


+6 −0
Original line number Original line Diff line number Diff line
@@ -1110,6 +1110,12 @@ ivas_error ivas_jbm_dec_render(
                {
                {
                    mvr2r( p_tc[n], p_output[n], *nSamplesRendered );
                    mvr2r( p_tc[n], p_output[n], *nSamplesRendered );
                }
                }
#ifdef NONBE_1339_FIXOSBA_EXT_LOUDNESS
                for ( n = 0; n < st_ivas->hDecoderConfig->nchan_out; n++ )
                {
                    v_multc( p_output[n], 0.5f, p_output[n], *nSamplesRendered );
                }
#endif
            }
            }
            else
            else
            {
            {