Re: simple PCM helper function

Giuliano Pochini
2006-01-14T21:48:26Z

On Tue, 10 Jan 2006 13:26:58 +0100 (CET)
Jaroslav Kysela <perex@suse.cz> wrote:

> You must also add a new function "snd_pcm_check_for_space()" or something
> like this. The app callback will be called from this function. Also, the
> app callback function should probably take same parameters as
> snd_pcm_mmap_begin() handles (areas, offset), because we support more
> ring buffer organization schemes.
>
> So, to all others, is this mechanism worth to implement?

IMHO they should be as simple as possible. I thing the first proposal is
more obvious and straightforward. That callback mechanism just moves the
complexity somewhere else.

--
Giuliano.