[commit] r9502 - freeswitch/trunk/src/mod/formats/mod_shout
10 Sep
2008
10 Sep
'08
3:32 p.m.
Author: anthm Date: Wed Sep 10 11:32:35 2008 New Revision: 9502 Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c Log: fix MODFORM-12 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 Wed Sep 10 11:32:35 2008 @@ -91,6 +91,11 @@ int len; int16_t blank[2048] = {0}, *r = NULL; + + if (context->channels == 2) { + r = blank; + } + len = lame_encode_buffer(context->gfp, blank, r, sizeof(blank) / 2, mp3buffer, sizeof(mp3buffer)); if (len) {
6630
Age (days ago)
6630
Last active (days ago)
0 comments
1 participants
participants (1)
-
Freeswitch SVN