| 872 | } |
| 873 | |
| 874 | void Looper::BakeVolume() |
| 875 | { |
| 876 | mUndoBuffer->CopyFrom(mBuffer, mLoopLength); |
| 877 | for (int ch = 0; ch < mBuffer->NumActiveChannels(); ++ch) |
| 878 | Mult(mBuffer->GetChannel(ch), mVol * mVol, mLoopLength); |
| 879 | mVol = 1; |
| 880 | mSmoothedVol = 1; |
| 881 | mWantBakeVolume = false; |
| 882 | } |
| 883 | |
| 884 | void Looper::UpdateNumBars(int oldNumBars) |
| 885 | { |
nothing calls this directly
no test coverage detected