From: Takashi Iwai Subject: Re: SNDRV_PCM_INFO_MMAP Date: Mon, 10 Oct 2005 14:54:37 +0200 Message-ID: References: <1128795449.13894.13.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1128795449.13894.13.camel@localhost.localdomain> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Adrian McMenamin Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Sat, 08 Oct 2005 19:17:29 +0100, Adrian McMenamin wrote: > > Could someone let me know what this symbol is for? The documentation > "how to write an ALSA driver" simply states: When the mmap is supported, > add SNDRV_PCM_INFO_MMAP flag here > > Now, I know MMAP will stand for memory mapped/mapping in some way, but > could someone tell me what? Does this mean if the device is memory > mapped, for instance? (I am not trying to write a PCI device driver and > apologies for the basic nature of the question). It means that the DMA buffers are memory-mapped to user-space so that they can be accessed directly without read/write syscalls. Takashi ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl