[Freeswitch-svn] [commit] r7373 - freeswitch/trunk/src/mod/codecs/mod_g711

Freeswitch SVN brian at freeswitch.org
Sat Jan 26 21:35:30 EST 2008


Author: brian
Date: Sat Jan 26 21:35:30 2008
New Revision: 7373

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

Log:
correct bits_per_second on ulaw/alaw

Modified: freeswitch/trunk/src/mod/codecs/mod_g711/mod_g711.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g711/mod_g711.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g711/mod_g711.c	Sat Jan 26 21:35:30 2008
@@ -210,7 +210,7 @@
 	/*.fmtp */ NULL,
 	/*.samples_per_second */ 8000,
 	/*.actual_samples_per_second */ 8000,
-	/*.bits_per_second */ 19200,
+	/*.bits_per_second */ 64000,
 	/*.microseconds_per_frame */ 60000,
 	/*.samples_per_frame */ 480,
 	/*.bytes_per_frame */ 960,
@@ -232,7 +232,7 @@
 	/*.fmtp */ NULL,
 	/*.samples_per_second */ 8000,
 	/*.actual_samples_per_second */ 8000,
-	/*.bits_per_second */ 96000,
+	/*.bits_per_second */ 64000,
 	/*.microseconds_per_frame */ 30000,
 	/*.samples_per_frame */ 240,
 	/*.bytes_per_frame */ 480,
@@ -321,7 +321,7 @@
 	/*.fmtp */ NULL,
 	/*.samples_per_second */ 8000,
 	/*.actual_samples_per_second */ 8000,
-	/*.bits_per_second */ 19200,
+	/*.bits_per_second */ 64000,
 	/*.microseconds_per_frame */ 60000,
 	/*.samples_per_frame */ 480,
 	/*.bytes_per_frame */ 960,
@@ -343,7 +343,7 @@
 	/*.fmtp */ NULL,
 	/*.samples_per_second */ 8000,
 	/*.actual_samples_per_second */ 8000,
-	/*.bits_per_second */ 96000,
+	/*.bits_per_second */ 64000,
 	/*.microseconds_per_frame */ 30000,
 	/*.samples_per_frame */ 240,
 	/*.bytes_per_frame */ 480,



More information about the Freeswitch-svn mailing list