Mercurial > mplayer.hg
changeset 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 | 9a109f995b4c |
children | 3a11bcafd262 |
files | libao2/ao_pulse.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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) {