static void update_noise(SpeexPreprocessState *st, float *ps, float *echo)
static void update_noise(SpeexPreprocessState *st, float *ps, int *echo)
static void update_noise(SpeexPreprocessState *st, float *ps, float *echo){   int i;   float beta;   st->nb_adapt++;   beta=1.0/st->nb_adapt;   if (beta < .05)      beta=.05;      if (!echo)   {      for (i=0;i<st->ps_size;i++)         st->noise[i] = (1-beta)*st->noise[i] + beta*ps[i];      } else {      for (i=0;i<st->ps_size;i++)         st->noise[i] = (1-beta)*st->noise[i] + beta*max(0,ps[i]-echo[i]); #if 0      for (i=0;i<st->ps_size;i++)         st->noise[i] = 0;#endif   }}