From 8e6d703926cda6683c5c9aff25b7c3d572442793 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 27 Jan 2008 02:35:30 +0000 Subject: [PATCH] correct bits_per_second on ulaw/alaw git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7373 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_g711/mod_g711.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/codecs/mod_g711/mod_g711.c b/src/mod/codecs/mod_g711/mod_g711.c index 0656a05211..fb21b56efc 100644 --- a/src/mod/codecs/mod_g711/mod_g711.c +++ b/src/mod/codecs/mod_g711/mod_g711.c @@ -210,7 +210,7 @@ static switch_codec_implementation_t g711u_8k_60ms_implementation = { /*.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 @@ static switch_codec_implementation_t g711u_8k_30ms_implementation = { /*.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 @@ static switch_codec_implementation_t g711a_8k_60ms_implementation = { /*.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 @@ static switch_codec_implementation_t g711a_8k_30ms_implementation = { /*.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,