[xiph-commits] r13943 - in trunk/speex: include/speex libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Tue Oct 9 04:08:15 PDT 2007
Author: jm
Date: 2007-10-09 04:08:15 -0700 (Tue, 09 Oct 2007)
New Revision: 13943
Modified:
trunk/speex/include/speex/speex_echo.h
trunk/speex/libspeex/mdf.c
trunk/speex/libspeex/preprocess.c
Log:
Minor documentation fixes from Alexander Chemeris
Modified: trunk/speex/include/speex/speex_echo.h
===================================================================
--- trunk/speex/include/speex/speex_echo.h 2007-10-07 16:55:47 UTC (rev 13942)
+++ trunk/speex/include/speex/speex_echo.h 2007-10-09 11:08:15 UTC (rev 13943)
@@ -77,7 +77,7 @@
* to playback in this form)
*
* @param st Echo canceller state
- * @param rec signal from the microphone (near end + far end echo)
+ * @param rec Signal from the microphone (near end + far end echo)
* @param play Signal played to the speaker (received from far end)
* @param out Returns near-end signal with echo removed
*/
@@ -89,7 +89,7 @@
/** Perform echo cancellation using internal playback buffer, which is delayed by two frames
* to account for the delay introduced by most soundcards (but it could be off!)
* @param st Echo canceller state
- * @param rec signal from the microphone (near end + far end echo)
+ * @param rec Signal from the microphone (near end + far end echo)
* @param out Returns near-end signal with echo removed
*/
void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out);
Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c 2007-10-07 16:55:47 UTC (rev 13942)
+++ trunk/speex/libspeex/mdf.c 2007-10-09 11:08:15 UTC (rev 13943)
@@ -635,13 +635,13 @@
}
}
-/** Performs echo cancellation on a frame */
+/** Performs echo cancellation on a frame (deprecated, last arg now ignored) */
void speex_echo_cancel(SpeexEchoState *st, const spx_int16_t *in, const spx_int16_t *far_end, spx_int16_t *out, spx_int32_t *Yout)
{
speex_echo_cancellation(st, in, far_end, out);
}
-/** Performs echo cancellation on a frame (deprecated, last arg now ignored) */
+/** Performs echo cancellation on a frame */
void speex_echo_cancellation(SpeexEchoState *st, const spx_int16_t *in, const spx_int16_t *far_end, spx_int16_t *out)
{
int i,j;
Modified: trunk/speex/libspeex/preprocess.c
===================================================================
--- trunk/speex/libspeex/preprocess.c 2007-10-07 16:55:47 UTC (rev 13942)
+++ trunk/speex/libspeex/preprocess.c 2007-10-09 11:08:15 UTC (rev 13943)
@@ -215,7 +215,7 @@
spx_word32_t *S; /**< Smoothed power spectrum */
spx_word32_t *Smin; /**< See Cohen paper */
spx_word32_t *Stmp; /**< See Cohen paper */
- int *update_prob; /**< Propability of speech presence for noise update */
+ int *update_prob; /**< Probability of speech presence for noise update */
spx_word16_t *zeta; /**< Smoothed a priori SNR */
spx_word32_t *echo_noise;
More information about the commits
mailing list