From 30c2283851ac8669a765e2bd814265d19ba9f766 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 28 Jan 2008 20:27:18 +0000 Subject: [PATCH] max bitrates per 8k, 16k and 32k from jmspeex on IRC, informational git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7413 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/codecs/mod_speex/mod_speex.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index 641802552c..1cd77ac2ee 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -289,7 +289,7 @@ static switch_codec_implementation_t speex_16k_implementation = { /*.fmtp */ NULL, /*.samples_per_second */ 16000, /*.actual_samples_per_second */ 16000, - /*.bits_per_second */ 22000, + /*.bits_per_second */ 42200, /*.nanoseconds_per_frame */ 20000, /*.samples_per_frame */ 320, /*.bytes_per_frame */ 640, @@ -311,7 +311,7 @@ static switch_codec_implementation_t speex_8k_60ms_implementation = { /*.fmtp */ NULL, /*.samples_per_second */ 8000, /*.actual_samples_per_second */ 8000, - /*.bits_per_second */ 11000, + /*.bits_per_second */ 24600, /*.nanoseconds_per_frame */ 60000, /*.samples_per_frame */ 480, /*.bytes_per_frame */ 960, @@ -333,7 +333,7 @@ static switch_codec_implementation_t speex_8k_40ms_implementation = { /*.fmtp */ NULL, /*.samples_per_second */ 8000, /*.actual_samples_per_second */ 8000, - /*.bits_per_second */ 11000, + /*.bits_per_second */ 24600, /*.nanoseconds_per_frame */ 40000, /*.samples_per_frame */ 240, /*.bytes_per_frame */ 640, @@ -356,7 +356,7 @@ static switch_codec_implementation_t speex_8k_30ms_implementation = { /*.fmtp */ NULL, /*.samples_per_second */ 8000, /*.actual_samples_per_second */ 8000, - /*.bits_per_second */ 11000, + /*.bits_per_second */ 24600, /*.nanoseconds_per_frame */ 30000, /*.samples_per_frame */ 240, /*.bytes_per_frame */ 480, @@ -378,7 +378,7 @@ static switch_codec_implementation_t speex_8k_20ms_implementation = { /*.fmtp */ NULL, /*.samples_per_second */ 8000, /*.actual_samples_per_second */ 8000, - /*.bits_per_second */ 11000, + /*.bits_per_second */ 24600, /*.nanoseconds_per_frame */ 20000, /*.samples_per_frame */ 160, /*.bytes_per_frame */ 320,