From 84c12a752e23c3e3a04fb8c866ad3ce8017ec03e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Tue, 26 Jul 2022 21:35:51 +0200 Subject: [PATCH] fix virtmic code for rohrkabel v1.2 --- src/virtmic.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/virtmic.cpp b/src/virtmic.cpp index 1730136..6ca0340 100644 --- a/src/virtmic.cpp +++ b/src/virtmic.cpp @@ -70,12 +70,12 @@ void start(QString _target) { << "Link : " << target << ":" << port_id << " -> "; if (port.info().props["audio.channel"] == "FL") { - links.emplace(port_id, core.create_simple( - virt_fl->info().id, port_id)); + links.emplace(port_id, core.create( + {virt_fl->info().id, port_id})); std::cout << "[virtmic] " << virt_fl->info().id << std::endl; } else { - links.emplace(port_id, core.create_simple( - virt_fr->info().id, port_id)); + links.emplace(port_id, core.create( + {virt_fr->info().id, port_id})); std::cout << "[virtmic] " << virt_fr->info().id << std::endl; } }