Commit 242bad42 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Add noise to output to test.

parent ac900052
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -268,6 +268,14 @@ void ivas_limiter_dec_fx(
    {
        channels[c] = output[c]; /*q_factor*/
    }

    for ( c = 0; c < num_channels; ++c )
    {
        for ( Word16 i = 0; i < output_frame; ++i )
        {
            channels[c][i] = channels[c][i] + 50000*(i%7);
        }
    }
    Word32 limiter_thresold = L_shl( IVAS_LIMITER_THRESHOLD, q_factor ); /*q_factor*/
    limiter_process_fx( hLimiter, output_frame, limiter_thresold, BER_detect, &hLimiter->strong_saturation_count, q_factor );