]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix 32 bit vol on shout MODFORM-15 michael meyers bug he won't give up
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 18:12:16 +0000 (18:12 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 7 Oct 2008 18:12:16 +0000 (18:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9880 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/mod_shout.c

index 7860f16fd1727ee5e7b11044de1e1179979eba33..2c2143cf4de6e1f10e725e0a9cdca9626488ea77 100644 (file)
@@ -611,9 +611,9 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
                mpg123_open_feed(context->mh);
                mpg123_format_all(context->mh);
                mpg123_param(context->mh, MPG123_FORCE_RATE, context->samplerate, 0);
-               mpg123_param(context->mh, MPG123_DOWN_SAMPLE, 1, 0);
+               //mpg123_param(context->mh, MPG123_DOWN_SAMPLE, 1, 0);
                if (sizeof(void *) == 4) {
-                       mpg123_param(context->mh, MPG123_OUTSCALE, 65536, 0);
+                       mpg123_param(context->mh, MPG123_OUTSCALE, 8, 0);
                } else {
                        mpg123_param(context->mh, MPG123_OUTSCALE, 8192, 0);
                }