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:
74e958c
)
only interpolate when the last timing info told us the stream is indeed playing
author
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jun 2006 00:18:43 +0000
(
00:18
+0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Jun 2006 00:18:43 +0000
(
00:18
+0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1051
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulse/stream.c
patch
|
blob
|
history
diff --git
a/src/pulse/stream.c
b/src/pulse/stream.c
index
c8fc09d
..
677df00
100644
(file)
--- a/
src/pulse/stream.c
+++ b/
src/pulse/stream.c
@@
-1254,7
+1254,7
@@
int pa_stream_get_time(pa_stream *s, pa_usec_t *r_usec) {
/* We just add the time that passed since the latency info was
* current */
- if (!s->corked) {
+ if (!s->corked
&& s->timing_info.playing
) {
struct timeval now;
usec += pa_timeval_diff(pa_gettimeofday(&now), &s->timing_info.timestamp);
}