Re: [ecasound] using mmap in alsa

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] using mmap in alsa
From: Kai Vehmanen (k@smtp.wakkanet.fi)
Date: Thu Jun 01 2000 - 19:27:30 EEST


On Mon, 29 May 2000, Jeremy Hall wrote:

> What would be the advantages in using alsa's mmap function calls instead
> of just the ordinary read/write function calls?

It's like a raw interface for audio input/output. You have to do things,
that are normally handled by libasound. You get more control
(sample/frame accurate), and you can optimize for special use
cases. From ecasound's POV, this isn't very interesting.

> Do we use frag mode so that we can ensure all our devices are
> synchronized?

Less work, reuse of already debugged libasound functions, works with
all ALSA supported hardware...

-- 
Kai Vehmanen <k@eca.cx> ---------------- CS, University of Turku .
 . audio software for linux .. http://www.eca.cx 		 .
 . armchair-tunes mp3/wav/ra . http://www.wakkanet.fi/sculpscape .

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Jun 20 2000 - 07:45:09 EEST