don't try to outsmart the transport

This commit is contained in:
Lennart Poettering 2009-04-05 02:50:32 +02:00
parent ce73e715c9
commit 7dafa87b68

View 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; x -= s->timing_info.transport_usec;
else else
x += s->timing_info.transport_usec; 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) if (s->suspended || s->corked || force_stop)