mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Merge yabridge-group.exe and yabridge-host.exe
They were 95% the same, so this makes a lot more sense this way. When group host processes were introduced yabridge only did VST2 bridging, but we already have a plugin type argument anyways so might as well reuse that for group hosts.
This commit is contained in:
@@ -36,15 +36,15 @@ void* find_plugin_library(const std::string& name) {
|
||||
// `dlopen()` for distro packaged versions of yabridge
|
||||
const std::vector<fs::path> search_path = get_augmented_search_path();
|
||||
if (const auto& yabridge_host_path =
|
||||
search_in_path(search_path, yabridge_individual_host_name)) {
|
||||
search_in_path(search_path, yabridge_host_name)) {
|
||||
const fs::path candidate = yabridge_host_path->parent_path() / name;
|
||||
if (fs::exists(candidate)) {
|
||||
return dlopen(candidate.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
||||
}
|
||||
}
|
||||
|
||||
if (const auto& yabridge_host_32_path = search_in_path(
|
||||
search_path, yabridge_individual_host_name_32bit)) {
|
||||
if (const auto& yabridge_host_32_path =
|
||||
search_in_path(search_path, yabridge_host_name_32bit)) {
|
||||
const fs::path candidate =
|
||||
yabridge_host_32_path->parent_path() / name;
|
||||
if (fs::exists(candidate)) {
|
||||
|
||||
Reference in New Issue
Block a user