I believe there is a documentation error regarding speex_preprocess_ctl(preprocess_state, request, ptr); The manual states: SPEEX_PREPROCESS_SET_DENOISE Turns denoising on(1) or off(2) SPEEX_PREPROCESS_SET_AGC Turns automatic gain control (AGC) on(1) or off(2) I noticed that setting a value of 0 turns the setting off. Setting a value of 1 or 2 turns the setting on. While I do think 1 and 0 is more logical, it contradicts the documentation. -- Greger Burman -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090529/bfd3545a/attachment.htm
Quoting Greger Burman <greger at mobile-robotics.com>:> I believe there is a documentation error regarding > speex_preprocess_ctl(preprocess_state, request, ptr); > The manual states: > SPEEX_PREPROCESS_SET_DENOISE Turns denoising on(1) or off(2) > SPEEX_PREPROCESS_SET_AGC Turns automatic gain control (AGC) on(1) or off(2) > I noticed that setting a value of 0 turns the setting off. Setting a value > of 1 or 2 turns the setting on. While I do think 1 and 0 is more logical, it > contradicts the documentation.It was just to make sure you were paying attention :-) I'll fix that, thanks! Jean-Marc