Comment 6 for bug 1192074

Revision history for this message
Daniel Schürmann (daschuer) wrote :

The "SAMPLER" button just changes the value of a ControlObject. This is a global double value, that can be accessed form everywhere by a Key/Item string pair.
In your case I think it is required that you hock on the value change event of the ControlObject.

This can be done by instantiating a ControlObjectSlave and register a callback function (slot).
Please make sure that you instantiate the Cos only fafter the skin has introduced the show sampler CO.
Be aware that instantiating the COS only works for skins that have instantiated the show sampler CO.

By the way: Is your build environment fully on duty? Do you have a IDE with a powerful indexer and are you able to single step though the code? My favorite IDE is Eclipse http://www.mixxx.org/wiki/doku.php/eclipse
This link is also helful: http://www.mixxx.org/wiki/doku.php/bugfix_workflow