MixerScene: only request actual value changes

Multimedia / Ardour - Robin Gareus [gareus.org] - 9 June 2022 00:25 UTC

This is otherwise only caught later in the rt-thread after scheduling a RealTimeOperation via AutomationControl::check_rt.

There is no need to schedule cross-thread events when the
value is not about to be changed.

This can greatly reduce the number of signals emitted by restoring a slot, which improves performance and also prevents the EventPool from filling up with useless events.

c16b7b6dd5 MixerScene: only request actual value changes
libs/ardour/mixer_scene.cc | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

  • Share