提交 9673ecf9 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix 32 bit vol on shout MODFORM-15 michael meyers bug

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9877 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7aa7dd7e
......@@ -611,7 +611,12 @@ 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_OUTSCALE, 8192, 0);
mpg123_param(context->mh, MPG123_DOWN_SAMPLE, 1, 0);
if (sizeof(void *) == 4) {
mpg123_param(context->mh, MPG123_OUTSCALE, 65536, 0);
} else {
mpg123_param(context->mh, MPG123_OUTSCALE, 8192, 0);
}
if (handle->handler) {
mpg123_param(context->mh, MPG123_FLAGS, MPG123_SEEKBUFFER|MPG123_MONO_MIX, 0);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论