# HG changeset patch # User reimar # Date 1280250673 0 # Node ID 81871058b27c668adb52c70179742483a69aee19 # Parent a08f20066719a11f6dff59d5a20e4da36f537779 Document how the ref_buf is used. diff -r a08f20066719 -r 81871058b27c gsmdec.c --- a/gsmdec.c Tue Jul 27 15:54:26 2010 +0000 +++ b/gsmdec.c Tue Jul 27 17:11:13 2010 +0000 @@ -34,6 +34,10 @@ #define GSM_FRAME_SIZE 160 typedef struct { + // Contains first 120 elements from the previous frame + // (used by long_term_synth according to the "lag"), + // then in the following 160 elements the current + // frame is constructed. int16_t ref_buf[280]; int v[9]; int lar[2][8];