| 956 | } |
| 957 | |
| 958 | void Looper::CopyBuffer(Looper* sourceLooper) |
| 959 | { |
| 960 | assert(sourceLooper); |
| 961 | mBuffer->CopyFrom(sourceLooper->mBuffer, mLoopLength); |
| 962 | SetLoopLength(sourceLooper->mLoopLength); |
| 963 | mNumBars = sourceLooper->mNumBars; |
| 964 | } |
| 965 | |
| 966 | void Looper::Commit(RollingBuffer* commitBuffer, bool replaceOnCommit, float offsetMs) |
| 967 | { |