Commit 373258d4 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

replace explicit loop by call to scale_sig32

parent 7b868a12
Loading
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -381,11 +381,12 @@ void ivas_osba_stereo_add_channels_fx(
#ifdef NONBE_FIX_1262_OSBA_STEREO
    FOR( n = 0; n < nchan_out; n++ )
    {
        Word16 i;
        FOR( i = 0; i < n_samples_to_render; i++ )
        {
            output_fx[n][i] = L_shr( output_fx[n][i], 1 );
        }
        //Word16 i;
        //FOR( i = 0; i < n_samples_to_render; i++ )
        //{
        //    output_fx[n][i] = L_shr( output_fx[n][i], 1 );
        //}
        scale_sig32(output_fx[n], n_samples_to_render, -1);
    }
#endif