21 Oct
2010
21 Oct
'10
5:50 p.m.
On Thu, 21 Oct 2010, Adam Rosenberg wrote:
I would like to make sure that all programs that use the sound driver I wrote are required to use 512 frames per period. Is there a snd_pcm_hw_constraint function that will allow me to do this?
Just use periods_min and period_max = 512 in the hw structure. But why this constraint? It's better to use different ways in the driver (timers, etc) to leave reasonable range of the configuration space.
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.