don't try to outsmart the transport
authorLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:50:32 +0000 (02:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:50:32 +0000 (02:50 +0200)
src/pulse/stream.c

index ff3644f..339a89e 100644 (file)
@@ -380,14 +380,6 @@ static void check_smoother_status(pa_stream *s, pa_bool_t aposteriori, pa_bool_t
             x -= s->timing_info.transport_usec;
         else
             x += s->timing_info.transport_usec;
-
-        if (s->direction == PA_STREAM_PLAYBACK)
-            /* it takes a while until the pause/resume is actually
-             * audible */
-            x += s->timing_info.sink_usec;
-        else
-            /* Data froma  while back will be dropped */
-            x -= s->timing_info.source_usec;
     }
 
     if (s->suspended || s->corked || force_stop)