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@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel