git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@270
fefdeb5f-60dc-0310-8127-
8f9354f1896f
uint32_t tag;
assert(s && s->ref >= 1 && s->state == PA_STREAM_READY);
- if (!s->corked && b)
- s->ipol_usec = pa_stream_get_interpolated_time(s);
- else if (s->corked && !b)
- gettimeofday(&s->ipol_timestamp, NULL);
+ if (s->interpolate) {
+ if (!s->corked && b)
+ s->ipol_usec = pa_stream_get_interpolated_time(s);
+ else if (s->corked && !b)
+ gettimeofday(&s->ipol_timestamp, NULL);
+ }
s->corked = b;