Audacity 3.2.0
FindClipping.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 FindClipping.h
6
7 Dominic Mazzoni
8 Vaughan Johnson (dialog)
9
10**********************************************************************/
11
12#ifndef __AUDACITY_EFFECT_FINDCLIPPING__
13#define __AUDACITY_EFFECT_FINDCLIPPING__
14
15class wxString;
16
17#include "FindClippingBase.h"
19#include <wx/weakref.h>
20
22 public FindClippingBase,
24{
25public:
26 std::unique_ptr<EffectEditor> PopulateOrExchange(
28 const EffectOutputs* pOutputs) override;
31 bool TransferDataToWindow(const EffectSettings& settings) override;
33
34private:
35 wxWeakRef<wxWindow> mUIParent;
37};
38
39#endif // __AUDACITY_EFFECT_FINDCLIPPING__
#define S(N)
Definition: ToChars.cpp:64
static Settings & settings()
Definition: TrackInfo.cpp:51
bool TransferDataToWindow(const EffectSettings &settings) override
void DoPopulateOrExchange(ShuttleGui &S, EffectSettingsAccess &access)
EffectSettingsAccessPtr mpAccess
Definition: FindClipping.h:36
wxWeakRef< wxWindow > mUIParent
Definition: FindClipping.h:35
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
Add controls to effect panel; always succeeds.
bool TransferDataFromWindow(EffectSettings &settings) override
Performs effect computation.
Hold values to send to effect output meters.
std::shared_ptr< EffectSettingsAccess > EffectSettingsAccessPtr
Definition: EffectPlugin.h:38
Locates clipping and inserts labels when found.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
Externalized state of a plug-in.