FreeCalypso > hg > gsm-codec-lib
diff libtwamr/agc.h @ 307:6b33f3ba4289
libtwamr: go for single-chunk-state approach
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 16 Apr 2024 17:18:04 +0000 |
parents | 54f6bc41ed10 |
children |
line wrap: on
line diff
--- a/libtwamr/agc.h Mon Apr 15 23:47:51 2024 +0000 +++ b/libtwamr/agc.h Tue Apr 16 17:18:04 2024 +0000 @@ -40,38 +40,13 @@ /* ************************************************************************** * -* Function : agc_init -* Purpose : Allocates memory for agc state and initializes -* state memory -* Description : Stores pointer to agc status struct in *st. This pointer -* has to be passed to agc in each call. -* Returns : 0 on success -* -************************************************************************** -*/ -int agc_init(agcState **st); - -/* -************************************************************************** -* * Function : agc_reset * Purpose : Reset of agc (i.e. set state memory to 1.0) * Returns : 0 on success * ************************************************************************** */ -int agc_reset (agcState *st); - -/* -************************************************************************** -* -* Function : agc_exit -* Purpose : The memory used for state memory is freed, -* de-initialize agc -* -************************************************************************** -*/ -void agc_exit (agcState **st); +void agc_reset (agcState *st); /* **************************************************************************