]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweaks
authorBrian West <brian@freeswitch.org>
Mon, 28 Jan 2008 19:45:56 +0000 (19:45 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 28 Jan 2008 19:45:56 +0000 (19:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7410 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/codecs/mod_speex/mod_speex.c

index 8684636a16e3f489962ff8068bf1c895584438df..641802552ccf5240e2f8c32f7e65479cb7dbfb99 100644 (file)
@@ -268,7 +268,7 @@ static switch_codec_implementation_t speex_32k_implementation = {
        /*.fmtp */ NULL,
        /*.samples_per_second */ 32000,
        /*.actual_samples_per_second */ 32000,
-       /*.bits_per_second */ 256000,
+       /*.bits_per_second */ 44000,
        /*.nanoseconds_per_frame */ 20000,
        /*.samples_per_frame */ 640,
        /*.bytes_per_frame */ 1280,
@@ -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 */ 3300,
+       /*.bits_per_second */ 11000,
        /*.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 */ 22000,
+       /*.bits_per_second */ 11000,
        /*.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 */ 1650,
+       /*.bits_per_second */ 11000,
        /*.nanoseconds_per_frame */ 30000,
        /*.samples_per_frame */ 240,
        /*.bytes_per_frame */ 480,