[MPlayer-cvslog] r34726 - trunk/libao2/ao_pulse.c
reimar
subversion at mplayerhq.hu
Tue Feb 14 21:06:43 CET 2012
Author: reimar
Date: Tue Feb 14 21:06:43 2012
New Revision: 34726
Log:
pulse: set outburst size.
Avoids incorrectly detecting the device as stuck.
Modified:
trunk/libao2/ao_pulse.c
Modified: trunk/libao2/ao_pulse.c
==============================================================================
--- trunk/libao2/ao_pulse.c Tue Feb 14 20:24:26 2012 (r34725)
+++ trunk/libao2/ao_pulse.c Tue Feb 14 21:06:43 2012 (r34726)
@@ -166,6 +166,7 @@ static int init(int rate_hz, int channel
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) {
More information about the MPlayer-cvslog
mailing list