[Speex-dev] About wideband encode
Jean-Marc Valin
Jean-Marc.Valin at USherbrooke.ca
Fri Feb 10 06:42:45 PST 2006
> tmp=8;
> speex_encoder_ctl(st, SPEEX_SET_QUALITY, &tmp);
> tmp=3;
> speex_encoder_ctl(st, SPEEX_SET_HIGH_MODE, &tmp);
> tmp=6;
> speex_encoder_ctl(st, SPEEX_SET_LOW_MODE, &tmp);
>
> How to set high_mode and low_mode, if quality is set to '9'?
> When I set quality '9' / high_mode '3' / low_mode '6', encode as like
> quality is '8'.
> And what does high/low mode value in encoding process?
low mode and high mode are advanced features, which you most likely
don't need.
> 2)
> callback.callback_id = SPEEX_INBAND_CHAR;
> callback.func = speex_std_char_handler;
> callback.data = stderr;
> speex_decoder_ctl(dec, SPEEX_SET_HANDLER, &callback);
>
> callback.callback_id = SPEEX_INBAND_MODE_REQUEST;
> callback.func = speex_std_mode_request_handler;
> callback.data = st;
> speex_decoder_ctl(dec, SPEEX_SET_HANDLER, &callback);
>
> Are these codes essential for encoding?
> I don't know role of above codes.
No, again it's just for testing
Jean-Marc
More information about the Speex-dev
mailing list