Commit ba38e591 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2495_Q_ALIGN_OSBA_RENDERER

parent 9b096b58
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@

#define FIX_BASOP_2486_HQ_FINE_GAIN_ALIGNMENT           /* Eri: Basop issue 2486: IVAS BASOP used calculations with truncation, EVS BASOP used rounding. This aligns the use of a table lookup. */
#define FIX_1540_EXPOSE_PT_IN_RTP_HEADER_API            /* Expose Payload Type setting in RTP Header */
#define FIX_2495_Q_ALIGN_OSBA_RENDERER                  /* FhG: Basop issue #2495: Corrected exponent scaling of outAudio.data_fx before buffer accumulation in renderSbaToBinaural(). */
#define FIX_BASOP_2511_PROTO_REF_POWER_FIX              /* FhG: BASOP 2511; Fix reference power computation in protoSignalComputation_shd_fx() */
#define FIX_BASOP_2512_WRONG_SHIFT_IN_DIRAC_CONFIG      /* Nokia: BASOP 2512: Fix wrong division by shift */
#define FIX_BASOP_2513_EXTRA_RETURN_REND_OPEN           /* Nokia: BASOP issue 2513: Removes extra return block */
+0 −2
Original line number Diff line number Diff line
@@ -8678,9 +8678,7 @@ static ivas_error renderSbaToBinaural(

        IF( hCrend->hReverb != NULL )
        {
#ifdef FIX_2495_Q_ALIGN_OSBA_RENDERER
            scale_sig32( outAudio.data_fx, i_mult( outAudio.config.numChannels, outAudio.config.numSamplesPerChannel ), -Q2 ); // Align Q of outAudio.data_fx with Q of output_buffer_fx: *pCrend->p_io_qfactor = *outAudio.pq_fact - Q2
#endif
            *outAudio.pq_fact = sub( *outAudio.pq_fact, Q2 );
            move16();
        }