Re: [LAD] "enhanced event port" LV2 extension proposal

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Nov 29 2007 - 04:10:13 EET

On Thu, 2007-11-29 at 00:38 +0000, Dan Mills wrote:
> On Wed, 2007-11-28 at 19:07 -0500, Dave Robillard wrote:
>
>
> >
> > Same with LV2 ports; works perfectly for port types. Problem is,
> > sticking a URI in each /event/ is far too bloated/slow.
> >
>
> I am coming horribly late to this discussion, so I might be being thick,
> but what happens if each event contains a pointer to a C style string
> being the URI... Bloated and slow right?
>
> Now here is the trick, we convert that to a unique identifier at run
> time by registering each unique event URI as a string in some data
> structure (Map, linked list of parameters, whatever), then at event
> creation time we set the pointer to point to our single common instance
> of the URI.

AKA "XAtom"

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Nov 29 08:15:02 2007

This archive was generated by hypermail 2.1.8 : Thu Nov 29 2007 - 08:15:02 EET