ALSA: dummy - Better jiffies handling
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2009 14:01:06 +0000 (16:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 3 Sep 2009 14:01:06 +0000 (16:01 +0200)
In the system-timer mode, snd-dummy driver issues each tick to update
the position.  This is highly inefficient and even inaccurate if the
timer can't be triggered at each tick.

Now rewritten to wake up only at the period boundary.  The position
is calculated from the current jiffies.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found