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