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:
parent
436100c94b
commit
64823f2d37
1 changed files with 3 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue