# HG changeset patch # User reimar # Date 1239308400 0 # Node ID aa06c29db609ee0c9d0f5be13f85be79aa3be3a1 # Parent 52afd0fe451b26e74b638a5f46d3320fcf97424f Disable pause-hack from PulseAudio 0.9.15 on, it should be fixed. Patch Lennart Poettering [lennart poettering net] with documentation update by me. diff -r 52afd0fe451b -r aa06c29db609 libao2/ao_pulse.c --- a/libao2/ao_pulse.c Thu Apr 09 20:10:35 2009 +0000 +++ b/libao2/ao_pulse.c Thu Apr 09 20:20:00 2009 +0000 @@ -153,11 +153,11 @@ } broken_pause = 0; - // not sure which versions are affected, assume 0.9.1* + // not sure which versions are affected, assume 0.9.11* to 0.9.14* // known bad: 0.9.14, 0.9.13 - // known good: 0.9.9, 0.9.10 + // known good: 0.9.9, 0.9.10, 0.9.15 // to test: pause, wait ca. 5 seconds framestep and see if MPlayer hangs somewhen - if (strncmp(version, "0.9.1", 5) == 0 && strncmp(version, "0.9.10", 6) != 0) { + if (strncmp(version, "0.9.1", 5) == 0 && version[5] >= '1' && version[5] <= '4') { mp_msg(MSGT_AO, MSGL_WARN, "[pulse] working around probably broken pause functionality,\n" " see http://www.pulseaudio.org/ticket/440\n"); broken_pause = 1;