Rename GroupRequest to HostRequest

We'll also use this to encode information in when launching
`yabridge-host.exe` for individually hosted plugins.
This commit is contained in:
Robbert van der Helm
2020-11-30 23:15:42 +01:00
parent 1c5a9423d2
commit e21d3e020f
5 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -183,10 +183,10 @@ GroupHost::GroupHost(boost::asio::io_context& io_context,
write_object(
group_socket,
// TODO: The plugin type should of course not be hardcoded
GroupRequest{.plugin_type = PluginType::vst2,
.plugin_path = plugin_path.string(),
.endpoint_base_dir = endpoint_base_dir.string()});
const auto response = read_object<GroupResponse>(group_socket);
HostRequest{.plugin_type = PluginType::vst2,
.plugin_path = plugin_path.string(),
.endpoint_base_dir = endpoint_base_dir.string()});
const auto response = read_object<HostResponse>(group_socket);
assert(response.pid > 0);
};