[Freeswitch-trunk] [commit] r6292 - freeswitch/trunk/libs/libteletone/src
Freeswitch SVN
anthm at freeswitch.org
Thu Nov 15 17:27:34 EST 2007
Author: anthm
Date: Thu Nov 15 17:27:33 2007
New Revision: 6292
Modified:
freeswitch/trunk/libs/libteletone/src/libteletone_detect.c
Log:
double trouble
Modified: freeswitch/trunk/libs/libteletone/src/libteletone_detect.c
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_detect.c (original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_detect.c Thu Nov 15 17:27:33 2007
@@ -130,7 +130,7 @@
}
}
-#define teletone_goertzel_result(gs) (float)(((gs)->v3 * (gs)->v3 + (gs)->v2 * (gs)->v2 - (gs)->v2 * (gs)->v3 * (gs)->fac))
+#define teletone_goertzel_result(gs) (double)(((gs)->v3 * (gs)->v3 + (gs)->v2 * (gs)->v2 - (gs)->v2 * (gs)->v3 * (gs)->fac))
void teletone_dtmf_detect_init (teletone_dtmf_detect_state_t *dtmf_detect_state, int sample_rate)
{
More information about the Freeswitch-trunk
mailing list