tv2 / sisyfos-audio-controller

Intelligent Audio for Automation systems
Other
43 stars 16 forks source link

fix: remove recalcAssignedChannels from hot path #232

Closed mint-dewit closed 2 years ago

mint-dewit commented 2 years ago

The assigned channels are recalculated every time the automation system sends an update. This is unnecessary and since the recalculation is costly can hamper performance greatly. The calculation should only be done when a channel is reassigned to a different fader.