[alsa-devel] mapping externally allocated Scatter Gather DMA buffers

Jaroslav Kysela perex at perex.cz
Wed Nov 10 12:30:53 CET 2010


On Wed, 10 Nov 2010, Manu Abraham wrote:

> Ok, so period should be the interval at which an IRQ is expected.
> ie, if i set a buffer size for 40mS, the period should be 40, I guess.
>
> That said, what should be a recommended value for period ? If hardware
> needs to generate an IRQ at the end of each period ?

It's good to allow the lowledevel driver to pass all possible period 
sizes to the user space. The application does decision how many wakeups 
expects.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list