Audacity 3.2.0
|
#include <LimiterEditor.h>
Public Member Functions | |
LimiterEditor (wxWindow *parent, CompressorInstance &instance, bool isRealtime, const EffectUIServices &services, EffectSettingsAccess &access, LimiterSettings settings) | |
Public Member Functions inherited from DynamicRangeProcessorEditor | |
DynamicRangeProcessorEditor (wxWindow *parent, CompressorInstance &instance, bool isRealtime, const EffectUIServices &services, EffectSettingsAccess &access) | |
void | PopulateOrExchange (ShuttleGui &S) |
Public Member Functions inherited from EffectEditor | |
EffectEditor (const EffectUIServices &services, EffectSettingsAccess &access) | |
virtual | ~EffectEditor () |
virtual bool | ValidateUI ()=0 |
Get settings data from the panel; may make error dialogs and return false. More... | |
virtual bool | UpdateUI () |
Update appearance of the panel for changes in settings. More... | |
virtual bool | IsGraphicalUI () |
virtual void | Disconnect () |
On the first call only, may disconnect from further event handling. More... | |
virtual void | OnClose () |
Public Member Functions inherited from Observer::Publisher< EffectSettingChanged > | |
Publisher (ExceptionPolicy *pPolicy=nullptr, Alloc a={}) | |
Constructor supporting type-erased custom allocation/deletion. More... | |
Publisher (Publisher &&)=default | |
Publisher & | operator= (Publisher &&)=default |
Subscription | Subscribe (Callback callback) |
Connect a callback to the Publisher; later-connected are called earlier. More... | |
Subscription | Subscribe (Object &obj, Return(Object::*callback)(Args...)) |
Overload of Subscribe takes an object and pointer-to-member-function. More... | |
Static Public Attributes | |
static constexpr LimiterParameter | thresholdDb |
static constexpr LimiterParameter | makeupTargetDb |
static constexpr LimiterParameter | kneeWidthDb |
static constexpr LimiterParameter | lookaheadMs |
static constexpr LimiterParameter | releaseMs |
static constexpr LimiterParameter | showInput |
static constexpr LimiterParameter | showOutput |
static constexpr LimiterParameter | showActual |
static constexpr LimiterParameter | showTarget |
Static Public Attributes inherited from EffectEditor | |
static constexpr int | kPlayID = 20102 |
Static Public Attributes inherited from Observer::Publisher< EffectSettingChanged > | |
static constexpr bool | notifies_all |
Private Member Functions | |
const LimiterSettings * | GetLimiterSettings () const override |
Private Attributes | |
LimiterSettings | mSettings |
Additional Inherited Members | |
Public Types inherited from Observer::Publisher< EffectSettingChanged > | |
using | message_type = EffectSettingChanged |
using | CallbackReturn = std::conditional_t< true, void, bool > |
using | Callback = std::function< CallbackReturn(const EffectSettingChanged &) > |
Type of functions that can be connected to the Publisher. More... | |
Static Public Member Functions inherited from EffectEditor | |
static bool | EnableApply (wxWindow *parent, bool enable=true) |
Enable or disable the Apply button of the dialog that contains parent. More... | |
static bool | EnablePreview (wxWindow *parent, bool enable=true) |
Protected Member Functions inherited from DynamicRangeProcessorEditor | |
void | Initialize (std::vector< ExtendedCompressorParameter > parameters) |
Protected Member Functions inherited from EffectEditor | |
template<typename EventTag , typename Class , typename Event > | |
void | BindTo (wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &)) |
Protected Member Functions inherited from Observer::Publisher< EffectSettingChanged > | |
CallbackReturn | Publish (const EffectSettingChanged &message) |
Send a message to connected callbacks. More... | |
Protected Attributes inherited from EffectEditor | |
const EffectUIServices & | mUIServices |
EffectSettingsAccess & | mAccess |
bool | mUIClosed { false } |
Static Protected Attributes inherited from DynamicRangeProcessorEditor | |
static constexpr auto | dbStep = 0.1 |
Definition at line 21 of file LimiterEditor.h.
LimiterEditor::LimiterEditor | ( | wxWindow * | parent, |
CompressorInstance & | instance, | ||
bool | isRealtime, | ||
const EffectUIServices & | services, | ||
EffectSettingsAccess & | access, | ||
LimiterSettings | settings | ||
) |
Definition at line 52 of file LimiterEditor.cpp.
References CompressionCurve, DynamicRangeProcessorEditor::Initialize(), LimiterSettings::kneeWidthDb, kneeWidthDb, kneeWidthDbAttributes, limiterMakeupTargetDbAttributes, limiterThresholdDbAttributes, LimiterSettings::lookaheadMs, lookaheadMs, lookaheadMsAttributes, LimiterSettings::makeupTargetDb, makeupTargetDb, mSettings, LimiterSettings::releaseMs, releaseMs, releaseMsAttributes, LimiterSettings::thresholdDb, thresholdDb, and TimeSmoothing.
|
inlineoverrideprivatevirtual |
Reimplemented from DynamicRangeProcessorEditor.
Definition at line 30 of file LimiterEditor.h.
References mSettings.
|
staticconstexpr |
Definition at line 59 of file LimiterEditor.h.
Referenced by LimiterEditor(), and EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 68 of file LimiterEditor.h.
Referenced by LimiterEditor(), and EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 50 of file LimiterEditor.h.
Referenced by LimiterEditor(), and EffectLimiter::Parameters().
|
private |
Definition at line 35 of file LimiterEditor.h.
Referenced by GetLimiterSettings(), and LimiterEditor().
|
staticconstexpr |
Definition at line 74 of file LimiterEditor.h.
Referenced by LimiterEditor(), and EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 87 of file LimiterEditor.h.
Referenced by EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 81 of file LimiterEditor.h.
Referenced by EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 84 of file LimiterEditor.h.
Referenced by EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 90 of file LimiterEditor.h.
Referenced by EffectLimiter::Parameters().
|
staticconstexpr |
Definition at line 41 of file LimiterEditor.h.
Referenced by LimiterEditor(), and EffectLimiter::Parameters().