1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added a MIDI output node to the AudioPluginHost

This commit is contained in:
ed 2020-01-14 18:16:01 +00:00
parent b2d8f45e14
commit 4b118bb45b
5 changed files with 45 additions and 7 deletions

View file

@ -202,11 +202,13 @@ void PluginGraph::newDocument()
addPlugin (internalFormat.audioInDesc, { 0.5, 0.1 });
addPlugin (internalFormat.midiInDesc, { 0.25, 0.1 });
addPlugin (internalFormat.audioOutDesc, { 0.5, 0.9 });
addPlugin (internalFormat.midiOutDesc, { 0.25, 0.9 });
MessageManager::callAsync ([this] () {
MessageManager::callAsync ([this]
{
setChangedFlag (false);
graph.addChangeListener (this);
} );
});
}
Result PluginGraph::loadDocument (const File& file)