From d37ac5988e87d94fea02c71e2cd0d141250311f9 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 10 Feb 2008 06:15:04 +0000 Subject: [PATCH] turning this to only do 20ms till I fix the other rates git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7577 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_speex/mod_speex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index 27df4efe5d..e792254d21 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -271,9 +271,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load) *module_interface = switch_loadable_module_create_module_interface(pool, modname); SWITCH_ADD_CODEC(codec_interface, "Speex"); for (counta = 1; counta <= 3; counta++) { - for (countb = 6; countb > 0; countb--) { + for (countb = 1; countb > 0; countb--) { switch_core_codec_add_implementation(pool, codec_interface, - SWITCH_CODEC_TYPE_AUDIO, ianacode[counta], "speex", NULL, rate, rate, bps[counta], + SWITCH_CODEC_TYPE_AUDIO, ianacode[counta], "SPEEX", NULL, rate, rate, bps[counta], mpf * countb, spf * countb, bpf * countb, ebpf * countb, 1, 1, 6, switch_speex_init, switch_speex_encode, switch_speex_decode, switch_speex_destroy); }