Троцкий Василий
2009-Oct-01 17:16 UTC
[Speex-dev] SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
>jesus: > Now I see that it happens when I specify a framesize in > speex_echo_state_init greater than the one used in > speex_preprocess_state_init. > > Next combination works: > codec framesize = 160 > preprocessor framesize = 160 > eco framesize = 160 > > > Next combination DOESNT work (produces heap corruption): > codec framesize = 160 > preprocessor framesize = 160 > eco framesize = 1600 > > > Is it possible to use these values? > > Thank you.1. Please note that better echo framesize is power of two(because FFT) 2. You probably have to increase heap/stack size for framesize = 1600, because memory requirements are grow with framesize. 3. I can't see any reason of using framesize>160> Is it possible to use these values?I think theoretically yes, if You have enough RAM.