Hi, I am using speex 1.2 beta2 and I was wondering if I were in the middle of a "streaming" encode/decode and I wanted to switch the quality of vocoders on the fly do I need to re-initialize the encoders or do I just need to do a speex_encoder_ctl(enc, SPEEX_SET_QUALITY, &tmp); to change it? ps-yes I know I will have to compensate for the increase in encoding size with the increase in quality Thanks. -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.xiph.org/pipermail/speex-dev/attachments/20071022/3a90b730/attachment.htm
Michael Jacobson wrote:> I am using speex 1.2 beta2 and I was wondering if I were in the middle > of a "streaming" encode/decode and I wanted to switch the quality of > vocoders on the fly do I need to re-initialize the encoders or do I just > need to do a speex_encoder_ctl(enc, SPEEX_SET_QUALITY, &tmp); to change > it?You can do that on-the-fly, just like any other speex_encoder_ctl() call. Jean-Marc