mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
AudioPluginFormatManager is no longer a singleton. Singletons are bad: don't do it, kids.
This commit is contained in:
parent
9af7f2f480
commit
246cb94bb0
13 changed files with 43 additions and 45 deletions
|
|
@ -1014,8 +1014,9 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
GraphDocumentComponent::GraphDocumentComponent (AudioDeviceManager* deviceManager_)
|
||||
: deviceManager (deviceManager_)
|
||||
GraphDocumentComponent::GraphDocumentComponent (AudioPluginFormatManager& formatManager,
|
||||
AudioDeviceManager* deviceManager_)
|
||||
: graph (formatManager), deviceManager (deviceManager_)
|
||||
{
|
||||
addAndMakeVisible (graphPanel = new GraphEditorPanel (graph));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue