Skip to content

Commit

Permalink
refactor(patchbay): make pipewire-pulse setup optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Apr 11, 2024
1 parent e9c1b2b commit 51f891f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/patchbay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ namespace vencord
{
static std::unique_ptr<patchbay> instance;

if (!has_pipewire())
if (!instance && !has_pipewire())
{
throw std::runtime_error("not running pipewire");
logger::get()->warn("[patchbay] (get) pipewire was not detected as main audio server");
}

if (!instance)
Expand Down

0 comments on commit 51f891f

Please sign in to comment.