[Speex-dev] switching quality on the fly
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Mon Oct 22 15:38:47 PDT 2007
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
More information about the Speex-dev
mailing list