From 1d7ead1b46f663f6b84e0bf3a2868005f70aa0f5 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 10 Feb 2008 00:01:05 +0000 Subject: [PATCH] fix speex its multiples of 20 up to 120ms git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7574 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_speex/mod_speex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index 85f6d7d7ba..27df4efe5d 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -264,7 +264,7 @@ static switch_status_t switch_speex_destroy(switch_codec_t *codec) 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 */