Skip to content
Commit 3e5b5016 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm core - Avoid jiffies check for devices with BATCH flag



The hardware devices with SNDRV_PCM_INFO_BATCH flag can't give the
precise current position.  And such hardwares have often big FIFO
in addition to the ring buffer, and it screws up the jiffies check
in pcm_lib.c.

This patch adds a simple check of info flag so that the driver skips
the jiffies check in snd_pcm_period_elapsed() when BATCH flag is set.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2008f137
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment