[Freeswitch-dev] towards making fh->silence_hits a representation in ms internally w/o changing interface

David Nicol davidnicol at gmail.com
Wed Jul 25 00:29:38 EDT 2007


Well the interface is changed slightly -- when fh is getting built by
mod_dptools.c
arg[3] is parsed by atof instead of atoi

The other builders could follow suit; the ones that have an integer #
of seconds,
I didn't trace where that came from to change it to a float.

Also in play_say, the running count of silence hits is in tmp_silence_hits
which is (1) less confusing and (2) saves some indirections.

The attached patch is submitted to the project without reservation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: silence_hits_in_ms_internally.diff
Type: application/octet-stream
Size: 3256 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20070724/96f39fef/attachment.obj 


More information about the Freeswitch-dev mailing list