mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 17:40:15 +02:00
More updates suggested by Gale
1) Manage Effect -> Manage on the menu button 2) Update uncapped "Ladspa" to "LADSPA"
This commit is contained in:
parent
f2bf4e7847
commit
cd94cceb8a
@ -2152,7 +2152,7 @@ bool EffectUIHost::Initialize()
|
|||||||
bar->SetSizer(bs);
|
bar->SetSizer(bs);
|
||||||
|
|
||||||
mMenuBtn = new wxBitmapButton(bar, kMenuID, CreateBitmap(effect_menu_xpm, true, false));
|
mMenuBtn = new wxBitmapButton(bar, kMenuID, CreateBitmap(effect_menu_xpm, true, false));
|
||||||
SetLabelAndTip(mMenuBtn, _("&Manage effect"));
|
SetLabelAndTip(mMenuBtn, _("&Manage"));
|
||||||
bs->Add(mMenuBtn);
|
bs->Add(mMenuBtn);
|
||||||
|
|
||||||
mOnBM = CreateBitmap(effect_on_xpm, true, false);
|
mOnBM = CreateBitmap(effect_on_xpm, true, false);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Dominic Mazzoni
|
Dominic Mazzoni
|
||||||
|
|
||||||
This class implements a Ladspa Plug-in effect.
|
This class implements a LADSPA Plug-in effect.
|
||||||
|
|
||||||
*******************************************************************//**
|
*******************************************************************//**
|
||||||
|
|
||||||
@ -108,12 +108,12 @@ wxString LadspaEffectsModule::GetPath()
|
|||||||
|
|
||||||
wxString LadspaEffectsModule::GetSymbol()
|
wxString LadspaEffectsModule::GetSymbol()
|
||||||
{
|
{
|
||||||
return wxT("Ladspa Effects");
|
return wxT("LADSPA Effects");
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString LadspaEffectsModule::GetName()
|
wxString LadspaEffectsModule::GetName()
|
||||||
{
|
{
|
||||||
return wxTRANSLATE("Ladspa Effects");
|
return wxTRANSLATE("LADSPA Effects");
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString LadspaEffectsModule::GetVendor()
|
wxString LadspaEffectsModule::GetVendor()
|
||||||
@ -129,7 +129,7 @@ wxString LadspaEffectsModule::GetVersion()
|
|||||||
|
|
||||||
wxString LadspaEffectsModule::GetDescription()
|
wxString LadspaEffectsModule::GetDescription()
|
||||||
{
|
{
|
||||||
return wxTRANSLATE("Provides Ladspa Effects");
|
return wxTRANSLATE("Provides LADSPA Effects");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@ -362,7 +362,7 @@ IdentInterface *LadspaEffectsModule::CreateInstance(const PluginID & ID,
|
|||||||
const wxString & path)
|
const wxString & path)
|
||||||
{
|
{
|
||||||
// For us, the ID is two words.
|
// For us, the ID is two words.
|
||||||
// 1) The Ladspa descriptor index
|
// 1) The LADSPA descriptor index
|
||||||
// 2) The library's path
|
// 2) The library's path
|
||||||
long index;
|
long index;
|
||||||
ID.BeforeFirst(wxT(' ')).ToLong(&index);
|
ID.BeforeFirst(wxT(' ')).ToLong(&index);
|
||||||
@ -407,7 +407,7 @@ BEGIN_EVENT_TABLE(LadspaEffectOptionsDialog, wxDialog)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
LadspaEffectOptionsDialog::LadspaEffectOptionsDialog(wxWindow * parent, EffectHostInterface *host)
|
LadspaEffectOptionsDialog::LadspaEffectOptionsDialog(wxWindow * parent, EffectHostInterface *host)
|
||||||
: wxDialog(parent, wxID_ANY, wxString(_("Ladspa Effect Options")))
|
: wxDialog(parent, wxID_ANY, wxString(_("LADSPA Effect Options")))
|
||||||
{
|
{
|
||||||
mHost = host;
|
mHost = host;
|
||||||
|
|
||||||
@ -431,11 +431,11 @@ void LadspaEffectOptionsDialog::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.StartStatic(_("Latency Compensation"));
|
S.StartStatic(_("Latency Compensation"));
|
||||||
{
|
{
|
||||||
S.AddVariableText(wxString() +
|
S.AddVariableText(wxString() +
|
||||||
_("As part of their processing, some Ladspa effects must delay returning ") +
|
_("As part of their processing, some LADSPA effects must delay returning ") +
|
||||||
_("audio to Audacity. When not compensating for this delay, you will ") +
|
_("audio to Audacity. When not compensating for this delay, you will ") +
|
||||||
_("notice that small silences have been inserted into the audio. ") +
|
_("notice that small silences have been inserted into the audio. ") +
|
||||||
_("Enabling this option will provide that compensation, but it may ") +
|
_("Enabling this option will provide that compensation, but it may ") +
|
||||||
_("not work for all Ladspa effects."))->Wrap(650);
|
_("not work for all LADSPA effects."))->Wrap(650);
|
||||||
|
|
||||||
S.StartHorizontalLay(wxALIGN_LEFT);
|
S.StartHorizontalLay(wxALIGN_LEFT);
|
||||||
{
|
{
|
||||||
@ -832,7 +832,7 @@ bool LadspaEffect::SetHost(EffectHostInterface *host)
|
|||||||
mNumOutputControls++;
|
mNumOutputControls++;
|
||||||
mOutputControls[p] = 0.0;
|
mOutputControls[p] = 0.0;
|
||||||
|
|
||||||
// Ladspa effects have a convention of providing latency on an output
|
// LADSPA effects have a convention of providing latency on an output
|
||||||
// control port whose name is "latency".
|
// control port whose name is "latency".
|
||||||
if (strcmp(mData->PortNames[p], "latency") == 0)
|
if (strcmp(mData->PortNames[p], "latency") == 0)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ class wxCheckBox;
|
|||||||
#include "ladspa.h"
|
#include "ladspa.h"
|
||||||
|
|
||||||
#define LADSPAEFFECTS_VERSION wxT("1.0.0.0")
|
#define LADSPAEFFECTS_VERSION wxT("1.0.0.0")
|
||||||
#define LADSPAEFFECTS_FAMILY wxT("Ladspa")
|
#define LADSPAEFFECTS_FAMILY wxT("LADSPA")
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user