[Freeswitch-svn] [commit] r7577 - freeswitch/trunk/src/mod/codecs/mod_speex

Freeswitch SVN brian at freeswitch.org
Sun Feb 10 01:15:04 EST 2008


Author: brian
Date: Sun Feb 10 01:15:04 2008
New Revision: 7577

Modified:
   freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c

Log:
turning this to only do 20ms till I fix the other rates

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	Sun Feb 10 01:15:04 2008
@@ -271,9 +271,9 @@
 	*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);
         }



More information about the Freeswitch-svn mailing list