Commit 3009ea05 authored by norvell's avatar norvell
Browse files

Add initialization of Gain for gain interpolation

parent d2fa5252
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -689,6 +689,9 @@ void TDREND_SRC_Init(
    Src_p->hrf_right_prev[0] = 1;
    Src_p->azim_prev = 0.0f;
    Src_p->elev_prev = 0.0f;
#ifdef FIX_550_FIRST_FRAME_ACCESS
    Src_p->Gain = 1;
#endif
    Src_p->prevGain = 1.0f;

    return;