[xiph-commits] r11136 - in trunk/speex: include/speex libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Thu Apr 13 20:53:52 PDT 2006
Author: jm
Date: 2006-04-13 20:53:48 -0700 (Thu, 13 Apr 2006)
New Revision: 11136
Modified:
trunk/speex/include/speex/speex_echo.h
trunk/speex/include/speex/speex_jitter.h
trunk/speex/libspeex/jitter.c
trunk/speex/libspeex/mdf.c
Log:
minor type cleanup
Modified: trunk/speex/include/speex/speex_echo.h
===================================================================
--- trunk/speex/include/speex/speex_echo.h 2006-04-14 00:11:50 UTC (rev 11135)
+++ trunk/speex/include/speex/speex_echo.h 2006-04-14 03:53:48 UTC (rev 11136)
@@ -61,7 +61,7 @@
void speex_echo_state_destroy(SpeexEchoState *st);
/** Performs echo cancellation a frame */
-void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short *out, spx_int32_t *Y);
+void speex_echo_cancel(SpeexEchoState *st, spx_int16_t *ref, spx_int16_t *echo, spx_int16_t *out, spx_int32_t *Y);
/** Reset the echo canceller state */
void speex_echo_state_reset(SpeexEchoState *st);
Modified: trunk/speex/include/speex/speex_jitter.h
===================================================================
--- trunk/speex/include/speex/speex_jitter.h 2006-04-14 00:11:50 UTC (rev 11135)
+++ trunk/speex/include/speex/speex_jitter.h 2006-04-14 03:53:48 UTC (rev 11136)
@@ -76,7 +76,6 @@
void jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet);
/** Get one packet from the jitter buffer */
-/*void jitter_buffer_get(JitterBuffer *jitter, short *out, int *current_timestamp);*/
int jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_uint32_t *current_timestamp);
/** Get pointer timestamp of jitter buffer */
Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c 2006-04-14 00:11:50 UTC (rev 11135)
+++ trunk/speex/libspeex/jitter.c 2006-04-14 03:53:48 UTC (rev 11136)
@@ -226,7 +226,6 @@
}
/** Get one packet from the jitter buffer */
-/*void jitter_buffer_get(JitterBuffer *jitter, short *out, int *current_timestamp);*/
int jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_uint32_t *start_offset)
{
int i, j;
Modified: trunk/speex/libspeex/mdf.c
===================================================================
--- trunk/speex/libspeex/mdf.c 2006-04-14 00:11:50 UTC (rev 11135)
+++ trunk/speex/libspeex/mdf.c 2006-04-14 03:53:48 UTC (rev 11136)
@@ -390,7 +390,7 @@
extern int fixed_point;
/** Performs echo cancellation on a frame */
-void speex_echo_cancel(SpeexEchoState *st, short *ref, short *echo, short *out, spx_int32_t *Yout)
+void speex_echo_cancel(SpeexEchoState *st, spx_int16_t *ref, spx_int16_t *echo, spx_int16_t *out, spx_int32_t *Yout)
{
int i,j;
int N,M;
More information about the commits
mailing list