File JUCE806-VSTInterface-add-MidiKey.patch of Package JUCE8_06

--- JUCE-8.0.4+git0.51d11a2b/modules/juce_audio_processors/format_types/juce_VSTInterface.h	2024-02-18 19:22:54.000000000 -0800
+++ JUCE-8.0.6+git2.612c50f4/modules/juce_audio_processors/format_types/juce_VSTInterface.h	2025-02-10 00:52:26.128563879 -0800
@@ -147,6 +147,7 @@
     plugInOpcodeSetSampleFloatType = plugInOpcodeSetNumberOfSamplesToProcess + 4,
     pluginOpcodeGetNumMidiInputChannels,
     pluginOpcodeGetNumMidiOutputChannels,
+    pluginOpcodeGetMidiKeyName,
     plugInOpcodeMaximum = pluginOpcodeGetNumMidiOutputChannels
 };
 
@@ -320,6 +321,15 @@
     char future2;
 };
 
+struct VstMidiKey
+{
+    int32 thisProgramIndex;
+    int32 thisKeyNumber;
+    char keyName[vstMaxNameLength];
+    int32 reserved;
+    int32 flags;
+};
+
 enum VstMidiEventFlags
 {
     vstMidiEventIsRealtime = 1
openSUSE Build Service is sponsored by