diff options
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dummy/dummy.c b/dummy/dummy.c index f683b92..013fe97 100644 --- a/dummy/dummy.c +++ b/dummy/dummy.c @@ -31,7 +31,7 @@ MODULE_LICENSE("GPL v2"); #define DUMMY_PERIODS_MIN 1 #define DUMMY_PERIODS_MAX 8 -#define get_dummy_ops(substream) \ +#define get_dummy_ops(substream) \ (*(const struct dummy_timer_ops **)(substream)->runtime->private_data) /******************************************************************************* @@ -138,11 +138,11 @@ static void dummy_systimer_callback(struct timer_list *t) dpcm->elapsed = 0; spin_unlock_irqrestore(&dpcm->lock, flags); if (elapsed) - snd_avirt_pcm_period_elapsed(dpcm->substream); + snd_pcm_period_elapsed(dpcm->substream); } static snd_pcm_uframes_t - dummy_systimer_pointer(struct snd_pcm_substream *substream) +dummy_systimer_pointer(struct snd_pcm_substream *substream) { struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; snd_pcm_uframes_t pos; |