commit | de2696d8bc9c81874b3743e0c27708760cb7fb52 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Jul 17 16:52:09 2006 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Sat Sep 23 10:38:08 2006 +0200 |
tree | a19fca7ba453cc136cfa18b3deb1b57f34759f4a | |
parent | 6ed5eff025b72cb84a884d4be05f854f13b1542f [diff] [blame] |
[ALSA] system timer: clear correction value when timer stops Do not retain the old correction value when the timer was stopped. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
diff --git a/sound/core/timer.c b/sound/core/timer.c index 0f6e672..4fcc854 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c
@@ -1006,6 +1006,7 @@ timer->sticks = priv->last_expires - jiff; else timer->sticks = 1; + priv->correction = 0; return 0; }