# HG changeset patch # User reimar # Date 1329250003 0 # Node ID 583c7cfc6653c9e540aac19b4d32032c2dc95a92 # Parent 9a109f995b4c350006b9a79e8bfa8775813c2d04 pulse: set outburst size. Avoids incorrectly detecting the device as stuck. diff -r 9a109f995b4c -r 583c7cfc6653 libao2/ao_pulse.c --- 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) {