2009/6/19 Krzysztof Foltman <w...@foltman.com>:
> Stefano D'Angelo wrote:
>
>> You're right. Well, I vote for the extra function and leaving descriptor
>> untouched too.
>
> What if that extra function was more of "get textual representation of a
> particular float value" (see: Buzz MDK) instead of "get all strings"?

But you would have to know the float values in advance...

> Added bonus: we could use it to provide textual representations of
> non-enums.

Well, if we use something like what I wrote yesterday, you could do
that already (just call it port_labels instead of port_enum_values, et
voila ;-)

Stefano
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to