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 [email protected] http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
