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

Method PostRepatch

Source/Rewriter.cpp:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Rewriter::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
74{
75 if (cableSource == mLooperCable)
76 {
77 if (mConnectedLooper)
78 mConnectedLooper->SetRewriter(nullptr);
79 mConnectedLooper = dynamic_cast<Looper*>(mLooperCable->GetTarget());
80 if (mConnectedLooper)
81 mConnectedLooper->SetRewriter(this);
82 }
83}
84
85void Rewriter::Process(double time)
86{

Callers

nothing calls this directly

Calls 2

SetRewriterMethod · 0.80
GetTargetMethod · 0.45

Tested by

no test coverage detected