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

Method PreRepatch

Source/LooperRecorder.cpp:269–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void LooperRecorder::PreRepatch(PatchCableSource* cableSource)
270{
271 for (int i = 0; i < mLooperPatchCables.size(); ++i)
272 {
273 if (cableSource == mLooperPatchCables[i])
274 {
275 Looper* looper = nullptr;
276 if (i < mLoopers.size())
277 looper = mLoopers[i];
278 if (looper)
279 looper->SetRecorder(nullptr);
280 }
281 }
282}
283
284void LooperRecorder::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
285{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
SetRecorderMethod · 0.80

Tested by

no test coverage detected