On Wed, 5 Mar 2003, mjander wrote:
> Hi,
>
> Another question... :)
>
> The Aureal Vortex has Scatter Gather DMA's for each audio channel.
> But these SG DMA
> support only max 4 pages. Each page can have a programable size of
> upto 4 KB.
> I was studying the ALSA SG scheme and it doesnt seme to fit into
> the aureal vortex
> SG buffer scheme, because ALSA, as far as i understood, only
> allows pages of the kernel PAGE_SIZE size, and allocates as many
> pages (without cound limit ?) until the buffer size is reached.
> But the PAGE_SIZE around 0x400 or 0x800, which is rather small.
>
> On the Aureal vortex soundcard side i have 4 registers for page
> base address, and some sort of config regs to configure each page
> size and the next page for each page. I just dont understand how
> could i plug this two apparently incompatible things together.
>
> Thank you very much.
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.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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