MCPcopy Create free account
hub / github.com/audacity/audacity / PowerOff

Method PowerOff

libraries/lib-vst/VSTInstance.cpp:395–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void VSTInstance::PowerOff()
396{
397 if (mHasPower)
398 {
399 // Tell the effect we're going to stop processing
400 if (mVstVersion >= 2)
401 {
402 callDispatcher(effStopProcess, 0, 0, NULL, 0.0);
403 }
404
405 // Turn the power off
406 callDispatcher(effMainsChanged, 0, 0, NULL, 0.0);
407
408 // Set state
409 mHasPower = false;
410 }
411}
412
413void VSTInstance::SizeWindow(int w, int h)
414{

Callers 1

RealtimeSuspendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected