On Tue, May 13, 2014 at 04:11:03PM +0200, Lars-Peter Clausen wrote:
On 05/13/2014 03:53 PM, Charles Keepax wrote:
On Mon, May 12, 2014 at 09:47:34PM +0100, Mark Brown wrote:
On Mon, May 12, 2014 at 10:19:26AM +0200, Lars-Peter Clausen wrote:
I would be inclined to go with the custom put/get method as well, but it leaves a question of what to do if the user sets an invalid value. Refusing to set the control feels nicer, but adds an ordering limitation on setting the controls. Updating the conflicting control is also possible, but might be a little surprising?
The event PRE_REG event is generated as soon as the control is changed, not when the path powers up. So there is no difference to a custom put handler in this regard.
Right, thanks, in that case yeah I can see no reason not to switch to a custom put. I will shove it on the todo list.
Thanks, Charles