6 Sep
2007
6 Sep
'07
7:07 p.m.
Eliot Blennerhassett wrote:
You need to add some constraints to your driver, in the open callback. E.g. 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.
--
Timur Tabi
Linux Kernel Developer @ Freescale