Skip to content
  • Takashi Iwai's avatar
    ALSA: pcm core - Avoid jiffies check for devices with BATCH flag · 3e5b5016
    Takashi Iwai authored
    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 <>