mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessorGraph: Fix MIDI channel bug and graph execution modification
MIDI only plugins are no longer provided valid audio buffers Graph nodes are only executed when they have active connections
This commit is contained in:
parent
15bdae16b2
commit
b918fd3159
3 changed files with 21 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ public:
|
|||
|
||||
void processBlock (AudioBuffer<float>& buffer, MidiBuffer& midi) override
|
||||
{
|
||||
// the audio buffer in a midi effect will have zero channels!
|
||||
// A pure MIDI plugin shouldn't be provided any audio data
|
||||
jassert (buffer.getNumChannels() == 0);
|
||||
|
||||
// however we use the buffer to get timing information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue