[LAD] Lv2 port replication [was Re: the role of lv2 extensions]

David Robillard dave at drobilla.net
Thu Aug 13 17:10:06 UTC 2009


On Thu, 2009-08-13 at 10:08 +0100, james morris wrote:
> I was trying to point to the question of: Why base the replication of a
> control port on the replication of the audio ports? The audio port
> replication is based on the number of channels, so base the replication
> of the control port (if it is to be replicated) on that also.

... the audio port replication IS the "number of channels".

> So we have two new port properties: one to say this port should always be
> replicated - audio ports would use this - and another to say that this
> port can be replicated but does not have to be. The matching of counts
> is implied because there's no sane reason why port replication counts
> would not match.

You are (falsely) assuming the replication is the same across the entire
plugin.  i.e. there is no global "number of channels" value

-dr





More information about the Linux-audio-dev mailing list