mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 08:53:56 +02:00
Pass plugin type when calling the host application
This commit is contained in:
@@ -181,6 +181,9 @@ void GroupBridge::accept_requests() {
|
||||
// yabridge plugin will be able to tell if the plugin has caused
|
||||
// this process to crash during its initialization to prevent
|
||||
// waiting indefinitely on the sockets to be connected to.
|
||||
// TODO: Do something with the plugin type
|
||||
// TODO: Maybe try to merge instantiation with `individual_host`?
|
||||
// Might only make things messier
|
||||
const auto request = read_object<GroupRequest>(socket);
|
||||
write_object(socket, GroupResponse{boost::this_process::get_id()});
|
||||
|
||||
|
||||
@@ -66,6 +66,9 @@ class Vst2Bridge {
|
||||
*
|
||||
* @throw std::runtime_error Thrown when the VST plugin could not be loaded,
|
||||
* or if communication could not be set up.
|
||||
*
|
||||
* TODO: Make these two arguments `boost::filesystem::path`, also use those
|
||||
* in `GroupRequest`.
|
||||
*/
|
||||
Vst2Bridge(MainContext& main_context,
|
||||
std::string plugin_dll_path,
|
||||
|
||||
Reference in New Issue
Block a user