22 #include <linux/time.h>
51 while ((mult * fsize) / fsize != mult) {
63 static unsigned long snd_pcm_timer_resolution(
struct snd_timer *
timer)
68 return substream->
runtime ? substream->
runtime->timer_resolution : 0;
94 .c_resolution = snd_pcm_timer_resolution,
95 .start = snd_pcm_timer_start,
96 .stop = snd_pcm_timer_stop,
116 tid.
card = substream->
pcm->card->number;
123 "capture" :
"playback",
125 timer->
hw = snd_pcm_timer;
137 if (substream->
timer) {