mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Updated some deprecated AudioDeviceManager methods in the AudioPluginHost
This commit is contained in:
parent
1ea463f989
commit
b2a4aaa338
1 changed files with 2 additions and 2 deletions
|
|
@ -1164,7 +1164,7 @@ GraphDocumentComponent::GraphDocumentComponent (AudioPluginFormatManager& fm,
|
|||
|
||||
deviceManager.addChangeListener (graphPanel.get());
|
||||
deviceManager.addAudioCallback (&graphPlayer);
|
||||
deviceManager.addMidiInputCallback (String(), &graphPlayer.getMidiMessageCollector());
|
||||
deviceManager.addMidiInputDeviceCallback ({}, &graphPlayer.getMidiMessageCollector());
|
||||
}
|
||||
|
||||
void GraphDocumentComponent::init()
|
||||
|
|
@ -1246,7 +1246,7 @@ void GraphDocumentComponent::unfocusKeyboardComponent()
|
|||
void GraphDocumentComponent::releaseGraph()
|
||||
{
|
||||
deviceManager.removeAudioCallback (&graphPlayer);
|
||||
deviceManager.removeMidiInputCallback (String(), &graphPlayer.getMidiMessageCollector());
|
||||
deviceManager.removeMidiInputDeviceCallback ({}, &graphPlayer.getMidiMessageCollector());
|
||||
|
||||
if (graphPanel != nullptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue