| 1293 | } |
| 1294 | |
| 1295 | void Looper::LoadState(FileStreamIn& in, int rev) |
| 1296 | { |
| 1297 | IDrawableModule::LoadState(in, rev); |
| 1298 | |
| 1299 | if (ModularSynth::sLoadingFileSaveStateRev < 423) |
| 1300 | in >> rev; |
| 1301 | LoadStateValidate(rev <= GetModuleSaveStateRev()); |
| 1302 | |
| 1303 | in >> mLoopLength; |
| 1304 | if (rev >= 1) |
| 1305 | in >> mBufferTempo; |
| 1306 | int readLength; |
| 1307 | mBuffer->Load(in, readLength, ChannelBuffer::LoadMode::kAnyBufferSize); |
| 1308 | assert(mLoopLength == readLength); |
| 1309 | } |
nothing calls this directly
no test coverage detected