https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ca0106/ca0106_main.c
if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0) return err; if ((err = snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 64)) < 0) return err;
although ca0106 has smaller minimum period bytes than hda intel
the granularity is not depend on minimum period size but only on how often sound card can report hwptr in realtime
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ tree/sound/ pci/ca0106/ ca0106_ main.c
if ((err = snd_pcm_ hw_constraint_ integer( runtime, SNDRV_PCM_ HW_PARAM_ PERIODS) ) < 0)
return err; hw_constraint_ step(runtime, 0, SNDRV_PCM_ HW_PARAM_ PERIOD_ BYTES, 64)) < 0)
return err;
if ((err = snd_pcm_
although ca0106 has smaller minimum period bytes than hda intel
the granularity is not depend on minimum period size but only on how often sound card can report hwptr in realtime