From: Dino Subject: Re: snd_pcm_writei vs snd_pcm_mmap_writei Date: Mon, 18 Apr 2005 14:18:02 +0200 Message-ID: <1113826682.4263a57a58490@mail.e4a.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Perfect! BTW i suggest to modify online documentation as it's no so clear, and has= some minors errors. bye, Dino Scrive Clemens Ladisch : > Dino wrote: > > So i have to use the pairs: snd_pcm_mmap_begin snd_pcm_mmap_commit to= make > use > > of a "real" mmap pcm, instead of snd_pcm_mmap_writei? > > Yes. snd_pcm_mmap_writei just calls the _begin/_commit functions > before/after copying the buffer. If you call them yourself, you can > do something else instead of simple copying. > > > HTH > Clemens > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click