<div>I believe there is a documentation error regarding </div><div>speex_preprocess_ctl(preprocess_state, request, ptr);</div><div></div><div>The manual states:</div><div>SPEEX_PREPROCESS_SET_DENOISE Turns denoising on(1) or off(2)<br>
SPEEX_PREPROCESS_SET_AGC Turns automatic gain control (AGC) on(1) or off(2)</div><div></div><div>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.</div>
<div></div>-- <br>Greger Burman<br><br><br>