| 757 | } |
| 758 | |
| 759 | void 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 | |
| 773 | void EffectUIHost::OnCapture(AudioIOEvent evt) |
| 774 | { |
nothing calls this directly
no test coverage detected