static void update_noise(DenoiseState *st, float *ps)
static void update_noise(SpeexDenoiseState *st, float *ps)
static void update_noise(DenoiseState *st, float *ps){   int i;   float beta;   st->nb_adapt++;   beta=1.0/st->nb_adapt;   if (beta < .05)      beta=.05;      for (i=0;i<st->ps_size;i++)      st->noise[i] = (1-beta)*st->noise[i] + beta*ps[i];   }