fix virtmic code for rohrkabel v1.2
This commit is contained in:
parent
1199381803
commit
84c12a752e
1 changed files with 4 additions and 4 deletions
|
@ -70,12 +70,12 @@ void start(QString _target) {
|
||||||
<< "Link : " << target << ":" << port_id << " -> ";
|
<< "Link : " << target << ":" << port_id << " -> ";
|
||||||
|
|
||||||
if (port.info().props["audio.channel"] == "FL") {
|
if (port.info().props["audio.channel"] == "FL") {
|
||||||
links.emplace(port_id, core.create_simple<pipewire::link_factory>(
|
links.emplace(port_id, core.create<pipewire::link_factory>(
|
||||||
virt_fl->info().id, port_id));
|
{virt_fl->info().id, port_id}));
|
||||||
std::cout << "[virtmic] " << virt_fl->info().id << std::endl;
|
std::cout << "[virtmic] " << virt_fl->info().id << std::endl;
|
||||||
} else {
|
} else {
|
||||||
links.emplace(port_id, core.create_simple<pipewire::link_factory>(
|
links.emplace(port_id, core.create<pipewire::link_factory>(
|
||||||
virt_fr->info().id, port_id));
|
{virt_fr->info().id, port_id}));
|
||||||
std::cout << "[virtmic] " << virt_fr->info().id << std::endl;
|
std::cout << "[virtmic] " << virt_fr->info().id << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue