default:
case SPEEX_PREPROCESS_SET_DEREVERB: st->dereverb_enabled = (*(int*)ptr); for (i=0;i<st->ps_size;i++) st->reverb_estimate[i]=0; break; case SPEEX_PREPROCESS_GET_DEREVERB: (*(int*)ptr) = st->dereverb_enabled; break;  case SPEEX_PREPROCESS_SET_DEREVERB_LEVEL: st->reverb_level = (*(int*)ptr); break; case SPEEX_PREPROCESS_GET_DEREVERB_LEVEL: (*(int*)ptr) = st->reverb_level; break;  case SPEEX_PREPROCESS_SET_DEREVERB_DECAY: st->reverb_decay = (*(int*)ptr); break; case SPEEX_PREPROCESS_GET_DEREVERB_DECAY: (*(int*)ptr) = st->reverb_decay; break;  default:
int speex_preprocess_ctl(SpeexPreprocessState *state, int request, void *ptr){   SpeexPreprocessState *st;   st=(SpeexPreprocessState*)state;   switch(request)   {   case SPEEX_PREPROCESS_SET_DENOISE:      st->denoise_enabled = (*(int*)ptr);      break;   case SPEEX_PREPROCESS_GET_DENOISE:      (*(int*)ptr) = st->denoise_enabled;      break;   case SPEEX_PREPROCESS_SET_AGC:      st->agc_enabled = (*(int*)ptr);      break;   case SPEEX_PREPROCESS_GET_AGC:      (*(int*)ptr) = st->agc_enabled;      break;   case SPEEX_PREPROCESS_SET_AGC_LEVEL:      st->agc_level = (*(float*)ptr);      if (st->agc_level<1)         st->agc_level=1;      if (st->agc_level>32768)         st->agc_level=32768;      break;   case SPEEX_PREPROCESS_GET_AGC_LEVEL:      (*(float*)ptr) = st->agc_level;      break;   case SPEEX_PREPROCESS_SET_VAD:      st->vad_enabled = (*(int*)ptr);      break;   case SPEEX_PREPROCESS_GET_VAD:      (*(int*)ptr) = st->vad_enabled;      break;   default:      speex_warning_int("Unknown speex_preprocess_ctl request: ", request);      return -1;   }   return 0;}