case SPEEX_GET_BITRATE: (*(int*)ptr) = SUBMODE(bitrate); break;
void nb_decoder_ctl(void *state, int request, void *ptr){   DecState *st;   st=state;   switch(request)   {   case SPEEX_SET_PF:      st->pf_enabled = *((int*)ptr);      break;   case SPEEX_GET_FRAME_SIZE:      (*(int*)ptr) = st->frameSize;      break;   default:      fprintf(stderr, "Unknown nb_ctl request: %d\n", request);   }}