This small patch will make st->Zlast = Zframe, to allow applications
access to an estimate of the signal-to-noise level. This used to be in
there earlier, but was removed when Zlast was no longer used to compute
Pframe.
-------------- next part --------------
Index: preprocess.c
==================================================================
--- preprocess.c (revision 10007)
+++ preprocess.c (working copy)
@@ -761,7 +761,8 @@
}
Zframe /= (freq_end-freq_start);
}
-
+ st->Zlast = Zframe;
+
Pframe = qcurve(Zframe);
/*fprintf (stderr, "%f\n", Pframe);*/
Applied. Guess it should be made accessible through _ctl() to make it clean. Jean-Marc Le samedi 10 septembre 2005 ? 15:18 +0200, Thorvald Natvig a ?crit :> This small patch will make st->Zlast = Zframe, to allow applications > access to an estimate of the signal-to-noise level. This used to be in > there earlier, but was removed when Zlast was no longer used to compute > Pframe. > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev-- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> Universit? de Sherbrooke -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20050924/cd18b907/attachment.pgp