On Friday 29 November 2002 00.05, vanDongen-Gilcher wrote: > Out of curiosity, > > What makes a card support mmap directly in general? And what would be > missing?
I'm sure I'll get corrected if I say something wrong here: If the card itself can transfer its samples from its onboard buffer into computer RAM, without CPU involvement (this is called DMA, direct memory access). Then one memory maps that memory, and the program can process samples directly in that memory area. For RME96 which has no DMA functionality, the CPU must also copy to/from the card's onboard buffer into RAM, and thus there is an extra memory copy, and the gain from having memory mapped I/O in terms of reduced amount of memory copies disappears (depending on how the driver is designed). There is also some user-space/kernel-space stuff concerning this, but if I'm not mistaken, it is not relevant for this discussion. /Anders Torger ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel