diff options
Diffstat (limited to 'polyp/polyplib-stream.c')
-rw-r--r-- | polyp/polyplib-stream.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/polyp/polyplib-stream.c b/polyp/polyplib-stream.c index d4480f8c..c7c40c0d 100644 --- a/polyp/polyplib-stream.c +++ b/polyp/polyplib-stream.c @@ -65,7 +65,6 @@ struct pa_stream *pa_stream_new(struct pa_context *c, const char *name, const st s->mcalign = pa_mcalign_new(pa_frame_size(ss), c->memblock_stat); s->counter = 0; - s->previous_time = 0; s->corked = 0; s->interpolate = 0; @@ -698,11 +697,6 @@ pa_usec_t pa_stream_get_time(struct pa_stream *s, const struct pa_latency_info * } } - if (usec < s->previous_time) - usec = s->previous_time; - - s->previous_time = usec; - return usec; } @@ -762,10 +756,6 @@ pa_usec_t pa_stream_get_interpolated_time(struct pa_stream *s) { usec = s->ipol_usec + pa_timeval_age(&s->ipol_timestamp); } - if (usec < s->previous_time) - usec = s->previous_time; - - s->previous_time = usec; return usec; } |