On 02-Mar-2004 Manuel Jander wrote:

>> Yes.  Every driver using SG must do this.  Look into bt87x.c or
>> via82xx.c for examples.
> 
> Well, i guess in that case the period size loses any relevance in
> terms of efficiency.

Efficiency about what ?  If the hardware can be programmed to use
any period size, then the application is free to choose the size
it prefers. It's not a bad thing.  NB: the interrupt should be
generated at the end of the period, not at the end of each block,
eg. when it crosses the page boundary.


> Is there any gain if DMA chunks and period sizes are
> related in any way ?

No, unless the hardware benefits from it.


--
Giuliano.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to