slider.referTo() don't work on tracktion_graph branch

Hi, I’m using this, to connect my Volume knob to the volume. It works very nice on develop branch but don’t work on tracktion_graph branch.

m_volumeKnob.getValueObject().referTo(audioTrack->getVolumePlugin()->volume.getPropertyAsValue());

The develop branch seems to be outdated since juce changed:
virtual void audioProcessorChanged (AudioProcessor* processor) = 0;
to:
virtual void audioProcessorChanged (AudioProcessor* processor, const ChangeDetails& details) = 0;

I opend an issue on github but I’m not sure if this will be noticed.

1 Like

I’ve left some feedback here: .referTo() don't work on tracktion_graph branch · Issue #48 · Tracktion/tracktion_engine · GitHub

1 Like

Thank you, Dave. Okay, then I have to refactor my code.

Yeah, we’re still trying to figure out the best way to do this but it’s surprisingly complex with automation, Macros, Modifiers and undo. I can’t think of a way just changing the CachedValue is ever going to work though.