Audacity 3.2.0
|
#include <CompressorEditor.h>
Public Member Functions | |
CompressorEditor (wxWindow *parent, CompressorInstance &instance, bool isRealtime, const EffectUIServices &services, EffectSettingsAccess &access, CompressorSettings 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 CompressorParameter | thresholdDb |
static constexpr CompressorParameter | makeupGainDb |
static constexpr CompressorParameter | kneeWidthDb |
static constexpr CompressorParameter | compressionRatio |
static constexpr CompressorParameter | lookaheadMs |
static constexpr CompressorParameter | attackMs |
static constexpr CompressorParameter | releaseMs |
static constexpr CompressorParameter | showInput |
static constexpr CompressorParameter | showOutput |
static constexpr CompressorParameter | showActual |
static constexpr CompressorParameter | 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 CompressorSettings * | GetCompressorSettings () const override |
Private Attributes | |
CompressorSettings | 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 20 of file CompressorEditor.h.
CompressorEditor::CompressorEditor | ( | wxWindow * | parent, |
CompressorInstance & | instance, | ||
bool | isRealtime, | ||
const EffectUIServices & | services, | ||
EffectSettingsAccess & | access, | ||
CompressorSettings | settings | ||
) |
Definition at line 58 of file CompressorEditor.cpp.
References CompressorSettings::attackMs, attackMs, attackMsAttributes, CompressionCurve, CompressorSettings::compressionRatio, compressionRatio, compressionRatioAttributes, compressorMakupGainDbAttributes, compressorThresholdDbAttributes, DynamicRangeProcessorEditor::Initialize(), CompressorSettings::kneeWidthDb, kneeWidthDb, kneeWidthDbAttributes, CompressorSettings::lookaheadMs, lookaheadMs, lookaheadMsAttributes, CompressorSettings::makeupGainDb, makeupGainDb, mSettings, CompressorSettings::releaseMs, releaseMs, releaseMsAttributes, CompressorSettings::thresholdDb, thresholdDb, and TimeSmoothing.
|
inlineoverrideprivatevirtual |
Reimplemented from DynamicRangeProcessorEditor.
Definition at line 102 of file CompressorEditor.h.
References mSettings.
|
staticconstexpr |
Definition at line 70 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 55 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 46 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 64 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 37 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
private |
Definition at line 107 of file CompressorEditor.h.
Referenced by CompressorEditor(), and GetCompressorSettings().
|
staticconstexpr |
Definition at line 79 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 94 of file CompressorEditor.h.
Referenced by EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 88 of file CompressorEditor.h.
Referenced by EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 91 of file CompressorEditor.h.
Referenced by EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 97 of file CompressorEditor.h.
Referenced by EffectCompressor::Parameters().
|
staticconstexpr |
Definition at line 28 of file CompressorEditor.h.
Referenced by CompressorEditor(), and EffectCompressor::Parameters().