diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-01-11 23:58:25 +0530 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2011-02-01 10:38:27 +0000 |
commit | 67d188894c7e74fe78e14db566a11cfe2d500114 (patch) | |
tree | 357395ffd0401419fb01cfdd338e0c3892d1f64d /src/Makefile.am | |
parent | 6b280e97e317ecf5250b935522392e71f6642ab3 (diff) |
client: Don't update smoother while corked
This prevents the smoother attached to the stream clock from being
updated while the stream is corked, which in turn ensures that once
corking is completed, pa_stream_get_time() always returns the same value
until the stream is uncorked - i.e., the clock does not advance when the
client believes that it will not.
The actual call to pa_smoother_put() happens on things like stream
suspend/unsuspend, which trigger timing updates. This changes the
smoother coefficients, which means that a call to pa_smoother_get() for
the same value of 'x' can return different values before and after a
timing update.
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions