multiply the buffer size by the number of channels. Originally committed as revision 19730 to svn://svn.ffmpeg.org/ffmpeg/trunk