Audacity 3.2.0
Functions
anonymous_namespace{DynamicRangeProcessorEffectUtils.cpp} Namespace Reference

Functions

template<typename EditorType , typename SettingType >
std::unique_ptr< EffectEditorMakeEditor (ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectUIServices &services, const EffectOutputs *pOutputs, SettingType settings)
 

Detailed Description


Audacity: A Digital Audio Editor

DynamicRangeProcessorEffectUtils.cpp

Matthieu Hodgkinson

Function Documentation

◆ MakeEditor()

template<typename EditorType , typename SettingType >
std::unique_ptr< EffectEditor > anonymous_namespace{DynamicRangeProcessorEffectUtils.cpp}::MakeEditor ( ShuttleGui S,
EffectInstance instance,
EffectSettingsAccess access,
const EffectUIServices services,
const EffectOutputs pOutputs,
SettingType  settings 
)

Definition at line 21 of file DynamicRangeProcessorEffectUtils.cpp.

25{
26 auto& compressorInstance = *dynamic_cast<CompressorInstance*>(&instance);
27 const auto isRealtime = pOutputs != nullptr;
28 auto result = std::make_unique<EditorType>(
29 S.GetParent(), compressorInstance, isRealtime, services, access,
30 std::move(settings));
31 result->PopulateOrExchange(S);
32 return result;
33}
#define S(N)
Definition: ToChars.cpp:64
static Settings & settings()
Definition: TrackInfo.cpp:51

References S, and settings().

Here is the call graph for this function: