| 526 | } |
| 527 | |
| 528 | void 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 | |
| 545 | void LooperRecorder::ResetSpeed() |
| 546 | { |
no test coverage detected