MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SetUpFromSaveData

Method SetUpFromSaveData

Source/VocoderCarrierInput.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void VocoderCarrierInput::SetUpFromSaveData()
87{
88 IDrawableModule* vocoder = TheSynth->FindModule(mModuleSaveData.GetString("vocoder"), false);
89 mVocoder = dynamic_cast<VocoderBase*>(vocoder);
90 GetPatchCableSource()->SetTarget(dynamic_cast<IClickable*>(vocoder));
91}

Callers

nothing calls this directly

Calls 3

GetStringMethod · 0.80
FindModuleMethod · 0.45
SetTargetMethod · 0.45

Tested by

no test coverage detected