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

Method OnPlay

src/effects/EffectUI.cpp:759–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759void EffectUIHost::OnPlay(wxCommandEvent & WXUNUSED(evt))
760{
761 if (!TransferDataFromWindow())
762 return;
763
764 auto updater = [this]{ TransferDataToWindow(); };
765 EffectPreview(mEffectUIHost, *mpAccess, updater, false);
766 // After restoration of settings and effect state:
767 // In case any dialog control depends on mT1 or mDuration:
768 updater();
769
770 return;
771}
772
773void EffectUIHost::OnCapture(AudioIOEvent evt)
774{

Callers

nothing calls this directly

Calls 1

EffectPreviewFunction · 0.85

Tested by

no test coverage detected