[Freeswitch-svn] [commit] r3488 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Nov 29 15:08:12 EST 2006


Author: mikej
Date: Wed Nov 29 15:08:12 2006
New Revision: 3488

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
cast for datatype of score.

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Wed Nov 29 15:08:12 2006
@@ -496,7 +496,7 @@
                 j += read_codec->implementation->number_of_channels;
             }
 		
-            score = energy / samples;
+            score = (uint32_t)(energy / samples);
             if (score < fh->thresh) {
                 if (!--fh->silence_hits) {
                     break;



More information about the Freeswitch-svn mailing list