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

From: David Robillard <dave@email-addr-hidden>
Date: Thu Aug 13 2009 - 20:10:06 EEST

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Aug 13 20:15:01 2009

This archive was generated by hypermail 2.1.8 : Thu Aug 13 2009 - 20:15:02 EEST