mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioUnits: exposed a method to force a reload of the parameter list.
This commit is contained in:
parent
bc259dc955
commit
4197f76ac0
2 changed files with 9 additions and 5 deletions
|
|
@ -326,7 +326,7 @@ public:
|
|||
|
||||
void initialise()
|
||||
{
|
||||
refreshParameterListFromPlugin();
|
||||
refreshParameterList();
|
||||
updateNumChannels();
|
||||
setPluginCallbacks();
|
||||
setPlayConfigDetails (numInputBusChannels * numInputBusses,
|
||||
|
|
@ -772,7 +772,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void refreshParameterListFromPlugin()
|
||||
void refreshParameterList()
|
||||
{
|
||||
parameterIds.clear();
|
||||
|
||||
|
|
|
|||
|
|
@ -51,17 +51,21 @@ public:
|
|||
virtual ~AudioPluginInstance() {}
|
||||
|
||||
//==============================================================================
|
||||
/** Fills-in the appropriate parts of this plugin description object.
|
||||
*/
|
||||
/** Fills-in the appropriate parts of this plugin description object. */
|
||||
virtual void fillInPluginDescription (PluginDescription& description) const = 0;
|
||||
|
||||
/** Returns a pointer to some kind of platform-specific data about the plugin.
|
||||
|
||||
E.g. For a VST, this value can be cast to an AEffect*. For an AudioUnit, it can be
|
||||
cast to an AudioUnit handle.
|
||||
*/
|
||||
virtual void* getPlatformSpecificData() { return nullptr; }
|
||||
|
||||
/** For some formats (currently AudioUnit), this forces a reload of the list of
|
||||
available parameters.
|
||||
*/
|
||||
virtual void refreshParameterList() {}
|
||||
|
||||
|
||||
protected:
|
||||
//==============================================================================
|
||||
AudioPluginInstance() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue