mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
Tidied up an out of date method in LADSPAPluginFormat
This commit is contained in:
parent
d80ceb0a1e
commit
be3acc9768
3 changed files with 6 additions and 17 deletions
|
|
@ -676,7 +676,7 @@ bool LADSPAPluginFormat::doesPluginStillExist (const PluginDescription& desc)
|
|||
return File::createFileWithoutCheckingPath (desc.fileOrIdentifier).exists();
|
||||
}
|
||||
|
||||
StringArray LADSPAPluginFormat::searchPathsForPlugins (const FileSearchPath& directoriesToSearch, const bool recursive)
|
||||
StringArray LADSPAPluginFormat::searchPathsForPlugins (const FileSearchPath& directoriesToSearch, const bool recursive, bool)
|
||||
{
|
||||
StringArray results;
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@
|
|||
class JUCE_API LADSPAPluginFormat : public AudioPluginFormat
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
LADSPAPluginFormat();
|
||||
~LADSPAPluginFormat();
|
||||
|
||||
|
|
@ -41,18 +40,17 @@ public:
|
|||
bool fileMightContainThisPluginType (const String& fileOrIdentifier) override;
|
||||
String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) override;
|
||||
bool pluginNeedsRescanning (const PluginDescription&) override;
|
||||
StringArray searchPathsForPlugins (const FileSearchPath&, bool recursive) override;
|
||||
StringArray searchPathsForPlugins (const FileSearchPath&, bool recursive, bool) override;
|
||||
bool doesPluginStillExist (const PluginDescription&) override;
|
||||
FileSearchPath getDefaultLocationsToSearch() override;
|
||||
bool canScanForPlugins() const override { return true; }
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
void createPluginInstance (const PluginDescription& description,
|
||||
double initialSampleRate,
|
||||
int initialBufferSize,
|
||||
void* userData,
|
||||
void createPluginInstance (const PluginDescription&, double initialSampleRate,
|
||||
int initialBufferSize, void* userData,
|
||||
void (*callback) (void*, AudioPluginInstance*, const String&)) override;
|
||||
|
||||
bool requiresUnblockedMessageThreadDuringCreation (const PluginDescription&) const noexcept override;
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -40,23 +40,14 @@ public:
|
|||
~VST3PluginFormat();
|
||||
|
||||
//==============================================================================
|
||||
/** @internal */
|
||||
String getName() const override { return "VST3"; }
|
||||
/** @internal */
|
||||
void findAllTypesForFile (OwnedArray<PluginDescription>& results, const String& fileOrIdentifier) override;
|
||||
/** @internal */
|
||||
void findAllTypesForFile (OwnedArray<PluginDescription>&, const String& fileOrIdentifier) override;
|
||||
bool fileMightContainThisPluginType (const String& fileOrIdentifier) override;
|
||||
/** @internal */
|
||||
String getNameOfPluginFromIdentifier (const String& fileOrIdentifier) override;
|
||||
/** @internal */
|
||||
bool pluginNeedsRescanning (const PluginDescription&) override;
|
||||
/** @internal */
|
||||
StringArray searchPathsForPlugins (const FileSearchPath&, bool recursive, bool) override;
|
||||
/** @internal */
|
||||
bool doesPluginStillExist (const PluginDescription&) override;
|
||||
/** @internal */
|
||||
FileSearchPath getDefaultLocationsToSearch() override;
|
||||
/** @internal */
|
||||
bool canScanForPlugins() const override { return true; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue