Also add a second payload value to event responses

This will only be used for `effGetSpeakerArrangement`.
This commit is contained in:
Robbert van der Helm
2020-05-07 17:15:47 +02:00
parent 044b7fa9a2
commit a3aad51e41
5 changed files with 144 additions and 109 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ void WineBridge::handle_dispatch() {
plugin, event.opcode, event.index, event.value,
&events.as_c_events(), event.option);
EventResult response{return_value, nullptr};
EventResult response{return_value, nullptr, std::nullopt};
return response;
} else {