[Freeswitch-svn] [commit] r7457 - freeswitch/trunk/src/mod/codecs/mod_g722

Freeswitch SVN brian at freeswitch.org
Fri Feb 1 10:06:22 EST 2008


Author: brian
Date: Fri Feb  1 10:06:22 2008
New Revision: 7457

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

Log:
tweak

Modified: freeswitch/trunk/src/mod/codecs/mod_g722/mod_g722.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g722/mod_g722.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g722/mod_g722.c	Fri Feb  1 10:06:22 2008
@@ -131,6 +131,12 @@
                                              mpf * count, spf * count, bpf * count, ebpf * count, 1, 1, 12,
                                              switch_g722_init, switch_g722_encode, switch_g722_decode, switch_g722_destroy);
     }
+    for (count = 12; count > 0; count--) {
+        switch_core_codec_add_implementation(pool, codec_interface,
+                                             SWITCH_CODEC_TYPE_AUDIO, 109, "G722_8", NULL, 8000, 8000, 64000,
+                                             mpf * count, spf * count, bpf * count, ebpf * count, 1, 1, 12,
+                                             switch_g722_init, switch_g722_encode, switch_g722_decode, switch_g722_destroy);
+    }
 
 	/* indicate that the module should continue to be loaded */
 	return SWITCH_STATUS_SUCCESS;



More information about the Freeswitch-svn mailing list