Commit f420cac7 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] wrong variable used for number of samples to scale

parent 3a38d045
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7682,7 +7682,7 @@ static ivas_error renderMcToBinauralRoom(
#endif
        {
#ifdef FIX_BASOP_2351_EXTREND_SCALE
            Scale_sig32( tmpRendBuffer[i], mcInput->base.inputBuffer.config.numChannels, sub( Q11, exp ) ); /* Q11 */
            Scale_sig32( tmpRendBuffer[i], mcInput->base.inputBuffer.config.numSamplesPerChannel, sub( Q11, exp ) ); /* Q11 */
#else
            Scale_sig32( tmpRendBuffer[i], L_FRAME48k, sub( Q11, exp ) ); /* Q11 */
#endif