Fix capitalization of the word MIDI

This commit is contained in:
Robbert van der Helm
2020-04-26 18:19:10 +02:00
parent 85afd4107e
commit af6ae2c2ad
6 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -128,7 +128,7 @@ PluginBridge::PluginBridge(std::string plugin_dll_path,
write_object(vst_host_aeffect, *plugin);
// This works functionally identically to the `handle_dispatch()` function
// below, but this socket will only handle midi events. This is needed
// below, but this socket will only handle MIDI events. This is needed
// because of Win32 API limitations.
dispatch_midi_events_handler =
Win32Thread(handle_dispatch_midi_events_proxy, this);
@@ -188,8 +188,8 @@ void PluginBridge::handle_dispatch() {
return plugin->dispatcher(plugin, opcode, index, value,
&events->as_c_events(), option);
} else {
std::cerr << "[Warning] Received non-midi "
"event on midi processing thread"
std::cerr << "[Warning] Received non-MIDI "
"event on MIDI processing thread"
<< std::endl;
return dispatch_wrapper(plugin, opcode, index, value, data,
@@ -247,7 +247,7 @@ void PluginBridge::handle_dispatch() {
outputs.push_back(buffer.data());
}
// Let the plugin process the midi events that were received since the
// Let the plugin process the MIDI events that were received since the
// last buffer, and then clean up those events. This approach should not
// be needed but Kontakt only stores pointers to rather than copies of
// the events.
+2 -2
View File
@@ -122,7 +122,7 @@ class PluginBridge {
* Used specifically for the `effProcessEvents` opcode. This is needed
* because the Win32 API is designed to block during certain GUI
* interactions such as resizing a window or opening a dropdown. Without
* this midi input would just stop working at times.
* this MIDI input would just stop working at times.
*/
boost::asio::local::stream_protocol::socket host_vst_dispatch_midi_events;
boost::asio::local::stream_protocol::socket vst_host_callback;
@@ -142,7 +142,7 @@ class PluginBridge {
/**
* The thread that specifically handles `effProcessEvents` opcodes so the
* plugin can still receive midi during GUI interaction to work around Win32
* plugin can still receive MIDI during GUI interaction to work around Win32
* API limitations.
*/
Win32Thread dispatch_midi_events_handler;