2020-11-26 06:26:45 |
Christian |
description |
When Mixxx is started with a MIDI controller attached whose mapping uses a `components.EffectUnit`, the log contains following warning:
```
Warning [Controller]: ControlDoublePrivate::getControl returning NULL for ( "[EffectRack1_EffectUnit1]" , "controller_input_active" )
```
The key `controller_input_active` is used in only [3 files](https://github.com/mixxxdj/mixxx/search?q=controller_input_active):
- [`effectchainslot.cpp`](https://github.com/mixxxdj/mixxx/blob/5b85c75fb6906204ae882f9153372537654857bf/src/effects/effectchainslot.cpp#L95)
- `midi-components-0.0.js`: [L761](https://github.com/mixxxdj/mixxx/blob/010ea3315efabf85550607ef8cddcc4ecefcbe1b/res/controllers/midi-components-0.0.js#L761), [L775](https://github.com/mixxxdj/mixxx/blob/010ea3315efabf85550607ef8cddcc4ecefcbe1b/res/controllers/midi-components-0.0.js#L775)
- [`res/skins/LateNight/fx/singletons.xml`](https://github.com/mixxxdj/mixxx/blob/ca87f6a1c82f0a42263efd0019025cec92ee030b/res/skins/LateNight/fx/singletons.xml#L61)
I suppose that the `EffectChainSlot` object is created after initialization of the controller mapping, which seems to be too late. |
When Mixxx is started with a MIDI controller attached whose mapping uses a `components.EffectUnit`, the log contains following warning:
```
Warning [Controller]: ControlDoublePrivate::getControl returning NULL for ( "[EffectRack1_EffectUnit1]" , "controller_input_active" )
```
The key `controller_input_active` is used in only [3 files](https://github.com/mixxxdj/mixxx/search?q=controller_input_active):
- [`effectchainslot.cpp`](https://github.com/mixxxdj/mixxx/blob/5b85c75fb6906204ae882f9153372537654857bf/src/effects/effectchainslot.cpp#L95)
- `midi-components-0.0.js`: [L761](https://github.com/mixxxdj/mixxx/blob/010ea3315efabf85550607ef8cddcc4ecefcbe1b/res/controllers/midi-components-0.0.js#L761), [L775](https://github.com/mixxxdj/mixxx/blob/010ea3315efabf85550607ef8cddcc4ecefcbe1b/res/controllers/midi-components-0.0.js#L775)
- [`res/skins/LateNight/fx/singletons.xml`](https://github.com/mixxxdj/mixxx/blob/ca87f6a1c82f0a42263efd0019025cec92ee030b/res/skins/LateNight/fx/singletons.xml#L61)
I suppose that the `EffectChainSlot` object might be created after initialization of the controller mapping, which seems to be too late. |
|