[Freeswitch-svn] [commit] r9880 - freeswitch/trunk/src/mod/formats/mod_shout

Freeswitch SVN anthm at freeswitch.org
Tue Oct 7 14:12:16 EDT 2008


Author: anthm
Date: Tue Oct  7 14:12:16 2008
New Revision: 9880

Modified:
   freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c

Log:
fix 32 bit vol on shout MODFORM-15 michael meyers bug he won't give up

Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	Tue Oct  7 14:12:16 2008
@@ -611,9 +611,9 @@
 		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);
 		}



More information about the Freeswitch-svn mailing list