On Mon, Jun 02, 2008 at 12:20:35PM +0200, Stefano
D'Angelo wrote:
Number of interleaved input (and hence output)
channels.
What on earth makes you think that the number of inputs
and outputs should be the same ?
Read this and think a little bit about it:
The API has been designed around the typical use case where a generic audio
source is processed in a series of subsequent stages (chain-like fashion,
informally speaking) and then sent to a generic audio output.
OK, I'm playing a stereo file on my 5.1 setup and want a plugin
to add some ambience using all speakers. That's 2 in, 6 out,
and nothing special I'd say.
It would work like this:
stereo input -> hosts converts to 5.1 (the effect states it needs 6
channels) -> apply effect with 6 in channels and 6 out channels -> 5.1
output
Nothing special as well.
Stefano