| 299 | } |
| 300 | |
| 301 | void SampleCapturer::LoadState(FileStreamIn& in, int rev) |
| 302 | { |
| 303 | IDrawableModule::LoadState(in, rev); |
| 304 | |
| 305 | if (ModularSynth::sLoadingFileSaveStateRev < 423) |
| 306 | in >> rev; |
| 307 | LoadStateValidate(rev <= GetModuleSaveStateRev()); |
| 308 | |
| 309 | int readLength; |
| 310 | for (int i = 0; i < mSamples.size(); ++i) |
| 311 | mSamples[i].mBuffer.Load(in, readLength, ChannelBuffer::LoadMode::kSetBufferSize); |
| 312 | } |
nothing calls this directly
no test coverage detected