> I don't see a problem here. The PAGE_SIZE is 4kB for i386. Simply > follow the code in the via82xx driver and limit the maximum count of > periods to 4.
This is easy solution, but a bit limiting. For example cs4281 supports max 2 periods. It is rather hard to work with it. There is a patch for ALSA 0.5 (by Pekka Pessi) which I have ported to 0.9 which is switching DMA addresses in the end-of-period interrupt. Works nicely, unlimited number of periods. Similar solution could be used here. Or do you expect problems with it? Best regards, -- Tomasz Motylewski ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel