Audacity 3.2.0
BassTreble.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4 Audacity(R) is copyright (c) 1999-2016 Audacity Team.
5 License: GPL v2 or later. See License.txt.
6
7 BassTreble.h (two shelf filters)
8 Steve Daulton
9
10**********************************************************************/
11
12#ifndef __AUDACITY_EFFECT_BASS_TREBLE__
13#define __AUDACITY_EFFECT_BASS_TREBLE__
14
15#include "BassTrebleBase.h"
17
18class ShuttleGui;
19
20class EffectBassTreble final :
21 public BassTrebleBase,
23{
24public:
25 EffectBassTreble() = default;
26 ~EffectBassTreble() override = default;
27
28 std::shared_ptr<EffectInstance> MakeInstance() const override;
29
30 struct Editor;
31
32 std::unique_ptr<EffectEditor> MakeEditor(
34 const EffectOutputs* pOutputs) const override;
35};
36
37#endif
#define S(N)
Definition: ToChars.cpp:64
A high shelf and low shelf filter.
Definition: BassTreble.h:23
std::unique_ptr< EffectEditor > MakeEditor(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Called only from PopulateUI, to add controls to effect panel.
Definition: BassTreble.cpp:94
std::shared_ptr< EffectInstance > MakeInstance() const override
Make an object maintaining short-term state of an Effect.
Definition: BassTreble.cpp:87
EffectBassTreble()=default
~EffectBassTreble() override=default
Performs effect computation.
Hold values to send to effect output meters.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640