Add support for effGetMidiKeyName

Not a lot of plugins use it, but it's really nice to have when they do.
This commit is contained in:
Robbert van der Helm
2020-04-28 12:54:36 +02:00
parent fb8fe035d8
commit 7ce42e4306
5 changed files with 43 additions and 0 deletions
+4
View File
@@ -226,6 +226,7 @@ void passthrough_event(boost::asio::local::stream_protocol::socket& socket,
return binary_buffer.data();
},
[&](VstIOProperties& props) -> void* { return &props; },
[&](VstMidiKeyName& key_name) -> void* { return &key_name; },
[&](VstParameterProperties& props) -> void* { return &props; },
[&](WantsVstRect&) -> void* { return string_buffer.data(); },
[&](const WantsVstTimeInfo&) -> void* { return nullptr; },
@@ -276,6 +277,9 @@ void passthrough_event(boost::asio::local::stream_protocol::socket& socket,
[&](VstIOProperties& props) -> EventResposnePayload {
return props;
},
[&](VstMidiKeyName& key_name) -> EventResposnePayload {
return key_name;
},
[&](VstParameterProperties& props) -> EventResposnePayload {
return props;
},