Re: [alsa-devel] Re: [linux-audio-dev] laaga, round 2

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [alsa-devel] Re: [linux-audio-dev] laaga, round 2
From: Tom Pincince (stillone_AT_snowcrest.net)
Date: Wed May 16 2001 - 04:04:28 EEST


> I agree entirely with the analysis. However, I'd stay away from the
> terms "push" and "pull", since neither of them capture what's really
> going on. With any of the models under discussion, we are telling the
> plugins that its time to do whatever it is they need to do.

The idea of push or pull has nothing to do with how the plugins process
data. It is about how the server helps them acquire data to process.

> What
> happens before and after that phase is not something the plugins need
> to be concerned with, and hence whether they are actually "pushing"
> data by writing it to their output buffers, or its being "pulled" from
> them, is really inconsequential (and invisible).

For a plugin to be truly unconcerned with what happens before or after
processing, the plugin's work must be considered finished when it has
completed its processing. Requiring the plugin to push its completed
work to multiple destinations after it is done processing does not allow
the plugin to be unconcerned. Having the server gather all relevant
data, sum it to a buffer, and present this buffer to the input of a
plugin seems to me to be the only way to guarantee that the plugin can
be truly unconcerned with anything other than processing data.

Tom


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed May 16 2001 - 04:16:11 EEST