mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
don't try to outsmart the transport
This commit is contained in:
parent
ce73e715c9
commit
7dafa87b68
1 changed files with 0 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue