FahlGrahn Audio v1.0.0
Loading...
Searching...
No Matches
juce::StandaloneFilterWindow Class Reference

#include <CustomStandaloneFilterWindow.h>

Inheritance diagram for juce::StandaloneFilterWindow:
Collaboration diagram for juce::StandaloneFilterWindow:

Public Types

typedef StandalonePluginHolder::PluginInOuts PluginInOuts
 

Public Member Functions

 StandaloneFilterWindow (const String &title, Colour backgroundColour, PropertySet *settingsToUse, bool takeOwnershipOfSettings, const String &preferredDefaultDeviceName=String(), const AudioDeviceManager::AudioDeviceSetup *preferredSetupOptions=nullptr, const Array< PluginInOuts > &constrainToConfiguration={}, bool autoOpenMidiDevices=false)
 
AudioProcessor * getAudioProcessor () const noexcept
 
AudioDeviceManager & getDeviceManager () const noexcept
 
void resetToDefaultState ()
 
void closeButtonPressed () override
 
void handleMenuResult (int result)
 
void resized () override
 
virtual StandalonePluginHoldergetPluginHolder ()
 

Static Public Member Functions

static void menuCallback (int result, StandaloneFilterWindow *button)
 

Public Attributes

std::unique_ptr< StandalonePluginHolderpluginHolder
 

Detailed Description

A class that can be used to run a simple standalone application containing your filter.

Just create one of these objects in your JUCEApplicationBase::initialise() method, and let it do its work. It will create your filter object using the same createPluginFilter() function that the other plugin wrappers use.

@tags{Audio}

Constructor & Destructor Documentation

◆ StandaloneFilterWindow()

juce::StandaloneFilterWindow::StandaloneFilterWindow ( const String & title,
Colour backgroundColour,
PropertySet * settingsToUse,
bool takeOwnershipOfSettings,
const String & preferredDefaultDeviceName = String(),
const AudioDeviceManager::AudioDeviceSetup * preferredSetupOptions = nullptr,
const Array< PluginInOuts > & constrainToConfiguration = {},
bool autoOpenMidiDevices = false )
inline

Creates a window with a given title and colour. The settings object can be a PropertySet that the class should use to store its settings (it can also be null). If takeOwnershipOfSettings is true, then the settings object will be owned and deleted by this object.

Member Function Documentation

◆ resetToDefaultState()

void juce::StandaloneFilterWindow::resetToDefaultState ( )
inline

Deletes and re-creates the plugin, resetting it to its default state.


The documentation for this class was generated from the following file: