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

Method PostRepatch

Source/LooperRecorder.cpp:284–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void LooperRecorder::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
285{
286 for (int i = 0; i < mLoopers.size(); ++i)
287 {
288 if (cableSource == mLooperPatchCables[i])
289 {
290 mLoopers[i] = dynamic_cast<Looper*>(mLooperPatchCables[i]->GetTarget());
291 if (mLoopers[i])
292 mLoopers[i]->SetRecorder(this);
293 }
294 }
295}
296
297void LooperRecorder::DrawModule()
298{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
SetRecorderMethod · 0.80
GetTargetMethod · 0.45

Tested by

no test coverage detected