[MPlayer-dev-eng] Patch on packman (ao_pulse)

Diego Biurrun diego at biurrun.de
Fri Dec 11 11:52:05 CET 2009


On Thu, Dec 10, 2009 at 12:07:13AM +0000, Carl Eugen Hoyos wrote:
> 
> A patch was posted on packman mailing list, I cannot comment on the usefulness:
> http://article.gmane.org/gmane.comp.package-management.packman/3405
> 
> Please comment, Carl Eugen

Please attach patches so that commenting becomes easier...

I've pasted the patch inline - Reimar?

Diego

--- libao2/ao_pulse.c   (revision 29771)
+++ libao2/ao_pulse.c   (working copy)
@@ -224,7 +224,7 @@
     pa_stream_set_write_callback(stream, stream_request_cb, NULL);
     pa_stream_set_latency_update_callback(stream, stream_latency_update_cb, NULL);

-    if (pa_stream_connect_playback(stream, sink, NULL, PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_AUTO_TIMING_UPDATE, &volume, NULL) < 0)
+    if (pa_stream_connect_playback(stream, sink, NULL, PA_STREAM_INTERPOLATE_TIMING|PA_STREAM_AUTO_TIMING_UPDATE, NULL, NULL) < 0)
         goto unlock_and_fail;

     /* Wait until the stream is ready */




More information about the MPlayer-dev-eng mailing list