]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix MODFORM-6
authorBrian West <brian@freeswitch.org>
Thu, 28 Feb 2008 02:04:20 +0000 (02:04 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 28 Feb 2008 02:04:20 +0000 (02:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7763 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/mod_shout.c

index 8ced03f924601a4c82556813c9866a9eccf8b065..5afb63ada21ecc9b5fcbe5d3e811ebd3c6e2dac0 100644 (file)
@@ -583,7 +583,8 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
 
                lame_set_num_channels(context->gfp, handle->channels);
                lame_set_in_samplerate(context->gfp, handle->samplerate);
-               lame_set_brate(context->gfp, 24);
+               lame_set_brate(context->gfp, 64);
+               lame_set_out_samplerate(context->gfp, handle->samplerate);
         if (handle->channels == 2) {
             lame_set_mode(context->gfp, STEREO);
         } else {