*gain_val = pitch_coef;
gain_val[0]=gain_val[2]=0; gain_val[1] = pitch_coef;
void forced_pitch_unquant(float exc[],                    /* Excitation */int   start,                    /* Smallest pitch value allowed */int   end,                      /* Largest pitch value allowed */float pitch_coef,               /* Voicing (pitch) coefficient */void *par,int   nsf,                      /* Number of samples in subframe */int *pitch_val,float *gain_val,SpeexBits *bits,float *stack,int lost){   int i;   /*pitch_coef=.9;*/   if (pitch_coef>.9)      pitch_coef=.9;   for (i=0;i<nsf;i++)   {      exc[i]=exc[i-start]*pitch_coef;   }   *pitch_val = start;   *gain_val = pitch_coef;}