summaryrefslogtreecommitdiffstats
path: root/src/pulse
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-05 02:50:32 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-05 02:50:32 +0200
commit7dafa87b68c59aeb93c7244b33d9dc9f6e614970 (patch)
tree75d61d0cd80cb8a65a35969448e7b61a3a79301c /src/pulse
parentce73e715c9c822beb797c023700c92bcc08464e7 (diff)
don't try to outsmart the transport
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/stream.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index ff3644ff..339a89e5 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -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)