[polypaudio-commits] r1051 - /trunk/src/pulse/stream.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Jun 20 17:18:44 PDT 2006
Author: lennart
Date: Wed Jun 21 02:18:43 2006
New Revision: 1051
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1051&root=pulseaudio&view=rev
Log:
only interpolate when the last timing info told us the stream is indeed playing
Modified:
trunk/src/pulse/stream.c
Modified: trunk/src/pulse/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/stream.c?rev=1051&root=pulseaudio&r1=1050&r2=1051&view=diff
==============================================================================
--- trunk/src/pulse/stream.c (original)
+++ trunk/src/pulse/stream.c Wed Jun 21 02:18:43 2006
@@ -1254,7 +1254,7 @@
/* 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);
}
More information about the pulseaudio-commits
mailing list