static void reset_codec(WmallDecodeCtx *s)

{

    int ich, ilms;

    s->mclms_recent = s->mclms_order * s->num_channels;

    for (ich = 0; ich < s->num_channels; ich++) {

        for (ilms = 0; ilms < s->cdlms_ttl[ich]; ilms++)

            s->cdlms[ich][ilms].recent = s->cdlms[ich][ilms].order;

        /* first sample of a seekable subframe is considered as the starting of

           a transient area which is samples_per_frame samples long */

        s->channel[ich].transient_counter = s->samples_per_frame;

        s->transient[ich] = 1;

    }

}

static void reset_codec(WmallDecodeCtx *s)

{

    int ich, ilms;

    s->mclms_recent = s->mclms_order * s->num_channels;

    for (ich = 0; ich < s->num_channels; ich++) {

        for (ilms = 0; ilms < s->cdlms_ttl[ich]; ilms++)

            s->cdlms[ich][ilms].recent = s->cdlms[ich][ilms].order;

        



        s->channel[ich].transient_counter = s->samples_per_frame;

        s->transient[ich] = 1;

    }

}

            s->cdlms[ich][ilms].recent = s->cdlms[ich][ilms].order;
static void FUNC_0(WmallDecodeCtx *VAR_0)

{

    int VAR_1, VAR_2;

    VAR_0->mclms_recent = VAR_0->mclms_order * VAR_0->num_channels;

    for (VAR_1 = 0; VAR_1 < VAR_0->num_channels; VAR_1++) {

        for (VAR_2 = 0; VAR_2 < VAR_0->cdlms_ttl[VAR_1]; VAR_2++)

            VAR_0->cdlms[VAR_1][VAR_2].recent = VAR_0->cdlms[VAR_1][VAR_2].order;

        



        VAR_0->channel[VAR_1].transient_counter = VAR_0->samples_per_frame;

        VAR_0->transient[VAR_1] = 1;

    }

}

static void FUNC_0(WmallDecodeCtx *VAR_0)
{ int VAR_1, VAR_2; VAR_0->mclms_recent = VAR_0->mclms_order * VAR_0->num_channels; for (VAR_1 = 0; VAR_1 < VAR_0->num_channels; VAR_1++) { for (VAR_2 = 0; VAR_2 < VAR_0->cdlms_ttl[VAR_1]; VAR_2++) VAR_0->cdlms[VAR_1][VAR_2].recent = VAR_0->cdlms[VAR_1][VAR_2].order; VAR_0->channel[VAR_1].transient_counter = VAR_0->samples_per_frame; VAR_0->transient[VAR_1] = 1; } }