Re: [linux-audio-dev] LV2 library API

From: Dave Robillard <drobilla@email-addr-hidden>
Date: Tue May 30 2006 - 22:09:33 EEST

On Tue, 2006-05-30 at 17:53 +0100, tom christie wrote:
> Sounds reasonable to me.
>
> Just to clarify, does that mean LV2_DATATYPE_FLOAT
> would be #define'd as: "http://lv2plug.in/ontology#float"
> or something else?...

Yep.

> I guess consistency would suggest using the same approach for both
> slv2_port_get_class() and slv2_port_get_data_type().

Yeah, true. I'll give everything a look through and make sure it will
make sense to do so in all cases (without mucking up the API too much).

I'm a bit unhappy that it makes code longer and more messy though. The
primary design goal here is to make host code as terse and simple as
possible. strcmp'ing a string and then freeing it is quite a bit uglier
than just testing an enum val :/

-DR-
Received on Wed May 31 04:15:04 2006

This archive was generated by hypermail 2.1.8 : Wed May 31 2006 - 04:15:04 EEST