MCPcopy Create free account
hub / github.com/GuitarML/NeuralPi / getStateInformation

Method getStateInformation

Source/PluginProcessor.cpp:274–288  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

272
273//==============================================================================
274void NeuralPiAudioProcessor::getStateInformation(MemoryBlock& destData)
275{
276 MemoryOutputStream stream(destData, true);
277
278 stream.writeFloat(*gainParam);
279 stream.writeFloat(*masterParam);
280 stream.writeFloat(*bassParam);
281 stream.writeFloat(*midParam);
282 stream.writeFloat(*trebleParam);
283 stream.writeFloat(*presenceParam);
284 stream.writeFloat(*modelParam);
285 stream.writeFloat(*irParam);
286 stream.writeFloat(*delayParam);
287 stream.writeFloat(*reverbParam);
288}
289
290void NeuralPiAudioProcessor::setStateInformation(const void* data, int sizeInBytes)
291{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected