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

Method RequestCopy

Source/LooperRecorder.cpp:528–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528void LooperRecorder::RequestCopy(Looper* looper)
529{
530 if (mCopySource == nullptr)
531 {
532 mCopySource = looper;
533 }
534 else if (mCopySource == looper)
535 {
536 mCopySource = nullptr;
537 }
538 else
539 {
540 looper->CopyBuffer(mCopySource);
541 mCopySource = nullptr;
542 }
543}
544
545void LooperRecorder::ResetSpeed()
546{

Callers 1

ButtonClickedMethod · 0.80

Calls 1

CopyBufferMethod · 0.80

Tested by

no test coverage detected