mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
AudioPluginFormatManager: Replace addDefaultFormats function() with non-member
This commit is contained in:
parent
33b9f1e6ec
commit
426b74fcf7
6 changed files with 60 additions and 48 deletions
|
|
@ -46,7 +46,7 @@ class PluginScannerSubprocess final : private ChildProcessWorker,
|
|||
public:
|
||||
PluginScannerSubprocess()
|
||||
{
|
||||
formatManager.addDefaultFormats();
|
||||
addDefaultFormatsToManager (formatManager);
|
||||
}
|
||||
|
||||
using ChildProcessWorker::initialiseFromCommandLine;
|
||||
|
|
|
|||
|
|
@ -314,8 +314,8 @@ MainHostWindow::MainHostWindow()
|
|||
LookAndFeel::getDefaultLookAndFeel().findColour (ResizableWindow::backgroundColourId),
|
||||
DocumentWindow::allButtons)
|
||||
{
|
||||
formatManager.addDefaultFormats();
|
||||
formatManager.addFormat (new InternalPluginFormat());
|
||||
addDefaultFormatsToManager (formatManager);
|
||||
formatManager.addFormat (std::make_unique<InternalPluginFormat>());
|
||||
|
||||
auto safeThis = SafePointer<MainHostWindow> (this);
|
||||
RuntimePermissions::request (RuntimePermissions::recordAudio,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue