[Freeswitch-svn] [commit] r7574 - freeswitch/trunk/src/mod/codecs/mod_speex
Freeswitch SVN
brian at freeswitch.org
Sat Feb 9 19:01:05 EST 2008
Author: brian
Date: Sat Feb 9 19:01:05 2008
New Revision: 7574
Modified:
freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c
Log:
fix speex its multiples of 20 up to 120ms
Modified: freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c (original)
+++ freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c Sat Feb 9 19:01:05 2008
@@ -264,7 +264,7 @@
SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load)
{
switch_codec_interface_t *codec_interface;
- int mpf = 10000, spf = 80, bpf = 160, ebpf = 0, rate = 8000, counta, countb;
+ int mpf = 20000, spf = 160, bpf = 320, ebpf = 0, rate = 8000, counta, countb;
switch_payload_t ianacode[4] = { 0, 98, 99, 103};
int bps[4] = { 0, 24600, 42200, 44000 };
/* connect my internal structure to the blank pointer passed to me */
More information about the Freeswitch-svn
mailing list