Revert "fix(pulse): check if loopback exists"
This reverts commit 3bf85e60609adda30c0c326d24883a5529edd891.
This commit is contained in:
parent
32e3231d60
commit
0e5e64376c
@ -295,11 +295,8 @@ namespace Soundux::Objects
|
||||
bool PulseAudio::useAsDefault()
|
||||
{
|
||||
if (!defaultSource.empty())
|
||||
{
|
||||
if (loopBack)
|
||||
{
|
||||
await(PulseApi::context_unload_module(context, *loopBack, nullptr, nullptr));
|
||||
}
|
||||
|
||||
await(PulseApi::context_load_module(
|
||||
context, "module-loopback", ("rate=44100 source=" + defaultSource + " sink=soundux_sink").c_str(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user