mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +02:00
Preserve InterfaceSymbol when changing effect name
Thanks to Paul for the implementation, and the prompting as to how to fix it.
This commit is contained in:
parent
2a691b5dc6
commit
9011b562d6
@ -42,9 +42,12 @@
|
||||
#include "../RealFFTf.h"
|
||||
#include "../SampleFormat.h"
|
||||
|
||||
#define EQUALIZATION_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Equalization") }
|
||||
#define GRAPHICEQ_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Graphic EQ") }
|
||||
#define FILTERCURVE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Filter Curve") }
|
||||
#define EQUALIZATION_PLUGIN_SYMBOL \
|
||||
ComponentInterfaceSymbol{ XO("Equalization") }
|
||||
#define GRAPHICEQ_PLUGIN_SYMBOL \
|
||||
ComponentInterfaceSymbol{ wxT("GraphicEQ"), XO("Graphic EQ") }
|
||||
#define FILTERCURVE_PLUGIN_SYMBOL \
|
||||
ComponentInterfaceSymbol{ wxT("FilterCurve"), XO("Filter Curve") }
|
||||
|
||||
// Flags to specialise the UI
|
||||
const int kEqOptionGraphic =1;
|
||||
|
@ -30,8 +30,8 @@
|
||||
|
||||
#define AUDIOUNITEFFECTS_VERSION wxT("1.0.0.0")
|
||||
/* 18n-hint: the name of an Apple audio software protocol */
|
||||
#define AUDIOUNITEFFECTS_FAMILY XO("Audio Unit")
|
||||
|
||||
#define AUDIOUNITEFFECTS_FAMILY ComponentInterfaceSymbol{ wxT("AudioUnit"),
|
||||
XO("Audio Unit") }
|
||||
class AudioUnitEffect;
|
||||
|
||||
using AudioUnitEffectArray = std::vector<std::unique_ptr<AudioUnitEffect>>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user