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

Method PowerOn

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

Source from the content-addressed store, hash-verified

375}
376
377void VSTInstance::PowerOn()
378{
379 if (!mHasPower)
380 {
381 // Turn the power on
382 callDispatcher(effMainsChanged, 0, 1, NULL, 0.0);
383
384 // Tell the effect we're going to start processing
385 if (mVstVersion >= 2)
386 {
387 callDispatcher(effStartProcess, 0, 0, NULL, 0.0);
388 }
389
390 // Set state
391 mHasPower = true;
392 }
393}
394
395void VSTInstance::PowerOff()
396{

Callers 2

RealtimeResumeMethod · 0.80
BuildFancyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected