Displaying 2 results from an estimated 2 matches for "speex_prob_continue".
Did you mean:
speech_prob_continue
2004 Aug 06
2
Memory leak in denoiser + a few questions
On Mar 28, 2004, at 8:23 PM, Jean-Marc Valin wrote:
>> The st->zeta pointer isn't freed in the
>> speex_preprocess_state_destroy()
>> function of the preprocess.c file (alloced in line 167). It's in
>> Speex 1.1.4
>> by the way.
>
> Oops... Thanks for letting me know. I'll change that for the next
> release (in the mean time, the fix is
2004 Aug 06
4
Memory leak in denoiser + a few questions
...ion 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- preprocess.c 2003/11/07 23:40:23 1.2
+++ preprocess.c 2004/02/06 17:10:24 1.3
@@ -145,6 +145,9 @@
st->agc_level = 8000;
st->vad_enabled = 0;
+ st->speech_prob_start = SPEEX_PROB_START ;
+ st->speech_prob_continue = SPEEX_PROB_CONTINUE ;
+
st->frame = (float*)speex_alloc(2*N*sizeof(float));
st->ps = (float*)speex_alloc(N*sizeof(float));
st->gain2 = (float*)speex_alloc(N*sizeof(float));
@@ -435,12 +438,19 @@
st->speech_prob = p0/(1e-25+p1+p0);
/*fprintf (stderr, "%f %f %f ", tot_l...