summaryrefslogtreecommitdiff
path: root/src/pulsecore/time-smoother_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/time-smoother_2.c')
-rw-r--r--src/pulsecore/time-smoother_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/time-smoother_2.c b/src/pulsecore/time-smoother_2.c
index e14b52f72..ea7ec1b36 100644
--- a/src/pulsecore/time-smoother_2.c
+++ b/src/pulsecore/time-smoother_2.c
@@ -295,7 +295,7 @@ pa_usec_t pa_smoother_2_get(pa_smoother_2 *s, pa_usec_t time_stamp) {
/* If the smoother has not started, just return system time since resume */
if (!s->start_time) {
- if (time_stamp >= s->resume_time)
+ if (time_stamp >= s->resume_time && !s->paused)
current_time = time_stamp - s->resume_time;
else
current_time = 0;