projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce73e71
)
don't try to outsmart the transport
author
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Apr 2009 00:50:32 +0000
(
02:50
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Apr 2009 00:50:32 +0000
(
02:50
+0200)
src/pulse/stream.c
patch
|
blob
|
history
diff --git
a/src/pulse/stream.c
b/src/pulse/stream.c
index
ff3644f
..
339a89e
100644
(file)
--- 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)