diff --git a/src/patchbay.cpp b/src/patchbay.cpp index 6dfa36c..8d68211 100644 --- a/src/patchbay.cpp +++ b/src/patchbay.cpp @@ -1,4 +1,5 @@ #include "patchbay.impl.hpp" +#include namespace vencord { @@ -28,6 +29,13 @@ namespace vencord if (!instance) { + auto handle = dlopen("libpipewire-0.3.so", RTLD_LAZY); + if (!handle) + { + throw std::runtime_error("libpipewire is not available"); + } + dlclose(handle); + instance = std::unique_ptr(new patchbay); }