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

LV2 Client: Query processor instead of relying on JucePlugin_IsMidiEffect

This commit is contained in:
reuk 2024-10-17 16:13:00 +01:00
parent 436100c94b
commit 64823f2d37
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -1291,8 +1291,8 @@ private:
"\t\tatom:bufferType atom:Sequence ;\n"
"\t\tatom:supports\n";
#if ! JucePlugin_IsSynth && ! JucePlugin_IsMidiEffect
if (proc.acceptsMidi())
#if ! JucePlugin_IsSynth
if (proc.acceptsMidi() || proc.isMidiEffect())
#endif
os << "\t\t\tmidi:MidiEvent ,\n";
@ -1308,9 +1308,7 @@ private:
"\t\tatom:bufferType atom:Sequence ;\n"
"\t\tatom:supports\n";
#if ! JucePlugin_IsMidiEffect
if (proc.producesMidi())
#endif
if (proc.producesMidi() || proc.isMidiEffect())
os << "\t\t\tmidi:MidiEvent ,\n";
os << "\t\t\tpatch:Message ;\n"