[alsa-devel] How can I make sure the period size is a multiple of 16?
timur at freescale.com
Thu Sep 6 19:07:11 CEST 2007
Eliot Blennerhassett wrote:
> You need to add some constraints to your driver, in the open callback.
> snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 16);
Thanks. snd_pcm_hw_constraint_step() is not documented anywhere, and the
comments in the source code don't provide any clues, either. Even the "ALSA
Driver API" document just lists the function, but doesn't actually tell you
what it does.
Linux Kernel Developer @ Freescale
More information about the Alsa-devel