Mercurial > mplayer.hg
diff libao2/ao_pulse.c @ 34638:583c7cfc6653
pulse: set outburst size.
Avoids incorrectly detecting the device as stuck.
author | reimar |
---|---|
date | Tue, 14 Feb 2012 20:06:43 +0000 |
parents | 96019b1174b8 |
children | f2c90c9dd61c |
line wrap: on
line diff
--- a/libao2/ao_pulse.c Tue Feb 14 19:24:26 2012 +0000 +++ b/libao2/ao_pulse.c Tue Feb 14 20:06:43 2012 +0000 @@ -166,6 +166,7 @@ ao_data.samplerate = rate_hz; ao_data.channels = channels; + ao_data.outburst = 8 * channels * (rate_hz / 64); fmt_map = format_maps; while (fmt_map->mp_format != format) {