2009/6/19 Krzysztof Foltman <wdev@email-addr-hidden>:
> 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@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jun 19 16:15:02 2009
This archive was generated by hypermail 2.1.8 : Fri Jun 19 2009 - 16:15:02 EEST