Audacity 3.2.0
Silence.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 Silence.h
6
7 Dominic Mazzoni
8
9 An effect to add silence.
10
11**********************************************************************/
12
13#ifndef __AUDACITY_EFFECT_SILENCE__
14#define __AUDACITY_EFFECT_SILENCE__
15
16#include "SilenceBase.h"
18
19class NumericTextCtrl;
20
22{
23public:
24 std::unique_ptr<EffectEditor> PopulateOrExchange(
25 ShuttleGui & S, EffectInstance &instance,
26 EffectSettingsAccess &access, const EffectOutputs *pOutputs) override;
27 bool TransferDataToWindow(const EffectSettings &settings) override;
29
30private:
32};
33
34#endif
#define S(N)
Definition: ToChars.cpp:64
static Settings & settings()
Definition: TrackInfo.cpp:51
Performs effect computation.
Hold values to send to effect output meters.
An effect to add silence.
Definition: Silence.h:22
std::unique_ptr< EffectEditor > PopulateOrExchange(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) override
Add controls to effect panel; always succeeds.
Definition: Silence.cpp:26
bool TransferDataFromWindow(EffectSettings &settings) override
Definition: Silence.cpp:62
NumericTextCtrl * mDurationT
Definition: Silence.h:31
bool TransferDataToWindow(const EffectSettings &settings) override
Definition: Silence.cpp:55
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
An effect to add silence.
Definition: SilenceBase.h:15
Externalized state of a plug-in.