1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-13 08:05:52 +01:00

Allow Ladspa analyse effects to be used with RTP

This commit is contained in:
Leland Lucius
2015-05-22 00:50:36 -05:00
parent 16744a2387
commit fd09140a5d

View File

@@ -638,7 +638,7 @@ bool LadspaEffect::IsLegacy()
bool LadspaEffect::SupportsRealtime() bool LadspaEffect::SupportsRealtime()
{ {
return GetType() == EffectTypeProcess; return GetType() != EffectTypeGenerate;
} }
bool LadspaEffect::SupportsAutomation() bool LadspaEffect::SupportsAutomation()
@@ -1356,8 +1356,8 @@ bool LadspaEffect::PopulateUI(wxWindow *parent)
LADSPA_PortRangeHint hint = mData->PortRangeHints[p]; LADSPA_PortRangeHint hint = mData->PortRangeHints[p];
wxString bound; wxString bound;
float lower = -FLT_MAX; float lower = 0.0;
float upper = FLT_MAX; float upper = 1.0;
bool haslo = false; bool haslo = false;
bool hashi = false; bool hashi = false;
bool forceint = false; bool forceint = false;