1 Feb 2011 02:05
mplayer R24920 - Increasing filtered audio buffer size from 65536 to 67584
Raymond Yau <superquad.vortex2 <at> gmail.com>
2011-02-01 01:05:22 GMT
2011-02-01 01:05:22 GMT
I also get shuttering and choppy audio with mplayer SVN-r32829-4.3.2 after mplayer display "Increasing filtered audio buffer size from 65536 to 67584" using oss or alsa with sound card which has max buffer bytes 65536 bytes , but it does not happen with "pulse" or hda driver with max buffer bytes > 65536 bytes dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer. audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536 2048 bytes is only half of the frag size 4096 bytes why mplayer increasing filtered audio buffer size by half frag or half period size ? it look like related to R24920 Change decode_audio() interface Rewrite decode_audio to better deal with filters that handle input in large blocks. It now always places output in sh_audio->a_out_buffer (which was always given as a parameter before) and reallocates the buffer if needed. After the changes filters can return arbitrarily large blocks of data without some of it being lost. The new version also allows simplifying some code.(Continue reading)
RSS Feed