MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SaveState

Method SaveState

Source/SampleCapturer.cpp:291–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void SampleCapturer::SaveState(FileStreamOut& out)
292{
293 out << GetModuleSaveStateRev();
294
295 IDrawableModule::SaveState(out);
296
297 for (int i = 0; i < mSamples.size(); ++i)
298 mSamples[i].mBuffer.Save(out, mSamples[i].mBuffer.BufferSize());
299}
300
301void SampleCapturer::LoadState(FileStreamIn& in, int rev)
302{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
BufferSizeMethod · 0.80
SaveMethod · 0.45

Tested by

no test coverage detected