[polypaudio-commits] r692 - /trunk/src/utils/pacat.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Apr 12 16:19:08 PDT 2006
Author: lennart
Date: Thu Apr 13 01:19:07 2006
New Revision: 692
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=692&root=polypaudio&view=rev
Log:
yet anotrher fix for slow links
Modified:
trunk/src/utils/pacat.c
Modified: trunk/src/utils/pacat.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/utils/pacat.c?rev=692&root=polypaudio&r1=691&r2=692&view=diff
==============================================================================
--- trunk/src/utils/pacat.c (original)
+++ trunk/src/utils/pacat.c Thu Apr 13 01:19:07 2006
@@ -374,7 +374,7 @@
static void time_event_callback(pa_mainloop_api*m, pa_time_event *e, const struct timeval *tv, void *userdata) {
struct timeval next;
- if (stream) {
+ if (stream && pa_stream_get_state(stream) == PA_STREAM_READY) {
pa_operation *o;
if (!(o = pa_stream_update_timing_info(stream, stream_update_timing_callback, NULL)))
fprintf(stderr, "pa_stream_update_timing_info() failed: %s\n", pa_strerror(pa_context_errno(context)));
More information about the pulseaudio-commits
mailing list