Would it be possible to have setValue and other stuff overridden in AudioParameterFloat to be protected and not private ?
It would allows to subclass those to add for example a non polling implementation where setValue notify some kind of threadsafe manager that there was some changes and still get the automatic range conversion

Thanks !

1 Like

I can’t remember from memory if this is exactly the same issue, but I also had to do some sort of workaround when inheriting from the AudioParameterFloat___ classes.

+1 !!!

Bump :slight_smile:
(padding for 20 characters limit)

Bump :stuck_out_tongue:
(padding for 20 characters limit)

just write your own I think. it seems those AudioParameterInt, AudioParameterBool, etc. are pretty limited, and just made to be basic ones (cf Restrictions of AudioParameterFloat/Bool/Choice )