jesus
2009-Sep-29 12:26 UTC
[Speex-dev] SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
Hi, when I use preprocessor with AEC, VC++ alerts me about heap corruption. I have protected speex_echo_playback, speex_echo_capture and speex_preprocess_run with mutexes, to avoid echo_state being used at the same time, but it still happens. Any help about this ussue? Thank you.
jesus
2009-Sep-30 09:39 UTC
[Speex-dev] SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
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. jesus escribi?:> Hi, > > when I use preprocessor with AEC, VC++ alerts me about heap corruption. > > I have protected speex_echo_playback, speex_echo_capture and > speex_preprocess_run with mutexes, to avoid echo_state being used at the > same time, but it still happens. > > Any help about this ussue? > > Thank you. > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >