mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Drag-and-drop checks file extensions first for plug-in candidates...
... Avoids big delays in drag-and-drop importation caused by
765ca0c813
This commit is contained in:
@@ -140,6 +140,13 @@ wxString AudioUnitEffectsModule::GetDescription()
|
||||
// ModuleInterface implementation
|
||||
// ============================================================================
|
||||
|
||||
wxArrayString AudioUnitEffectsModule::FileExtensions()
|
||||
{
|
||||
static const wxString ext[] = { _T("au") };
|
||||
static const wxArrayString result{ sizeof(ext)/sizeof(*ext), ext };
|
||||
return result;
|
||||
}
|
||||
|
||||
bool AudioUnitEffectsModule::Initialize()
|
||||
{
|
||||
// Nothing to do here
|
||||
|
@@ -243,7 +243,7 @@ public:
|
||||
bool Initialize() override;
|
||||
void Terminate() override;
|
||||
|
||||
bool PathsAreFiles() override { return false; }
|
||||
wxArrayString FileExtensions() override;
|
||||
wxString InstallPath() override { return {}; }
|
||||
|
||||
bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
|
||||
|
Reference in New Issue
Block a user