*/\r
virtual void setNonRealtime (bool isNonRealtime) noexcept;\r
\r
+ #if ! JUCE_AUDIOPROCESSOR_NO_GUI\r
//==============================================================================\r
/** Creates the processor's GUI.\r
\r
This may call createEditor() internally to create the component.\r
*/\r
AudioProcessorEditor* createEditorIfNeeded();\r
+ #endif\r
\r
//==============================================================================\r
/** Returns the default number of steps for a parameter.\r
/** This method is called when the layout of the audio processor changes. */\r
virtual void processorLayoutsChanged();\r
\r
+ //==============================================================================\r
+ /** LV2 specific calls, saving/restore as string. */\r
+ virtual String getStateInformationString () { return String(); }\r
+ virtual void setStateInformationString (const String&) {}\r
+\r
//==============================================================================\r
/** Adds a listener that will be called when an aspect of this processor changes. */\r
virtual void addListener (AudioProcessorListener* newListener);\r
\r
virtual CurveData getResponseCurve (CurveData::Type /*curveType*/) const { return {}; }\r
\r
+ #if ! JUCE_AUDIOPROCESSOR_NO_GUI\r
//==============================================================================\r
/** Not for public use - this is called before deleting an editor component. */\r
void editorBeingDeleted (AudioProcessorEditor*) noexcept;\r
+ #endif\r
\r
/** Flags to indicate the type of plugin context in which a processor is being used. */\r
enum WrapperType\r
wrapperType_AAX,\r
wrapperType_Standalone,\r
wrapperType_Unity\r
+ , wrapperType_LV2\r
};\r
\r
/** When loaded by a plugin wrapper, this flag will be set to indicate the type\r
\r
//==============================================================================\r
Array<AudioProcessorListener*> listeners;\r
+ #if ! JUCE_AUDIOPROCESSOR_NO_GUI\r
Component::SafePointer<AudioProcessorEditor> activeEditor;\r
+ #endif\r
double currentSampleRate = 0;\r
int blockSize = 0, latencySamples = 0;\r
bool suspended = false, nonRealtime = false;\r