summaryrefslogtreecommitdiffstats
path: root/src/AlsaDriver.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 23:30:09 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 23:47:23 +0100
commit2755425424cd4df87cc7a34bc02b5dedd0a1e21d (patch)
tree2a7e8800491130a2fd417aaf6779c76229651135 /src/AlsaDriver.cpp
parent8c5ebde0fd26f9e1488467c4c43cca31b53310f3 (diff)
downloadpatchage-2755425424cd4df87cc7a34bc02b5dedd0a1e21d.tar.gz
patchage-2755425424cd4df87cc7a34bc02b5dedd0a1e21d.tar.bz2
patchage-2755425424cd4df87cc7a34bc02b5dedd0a1e21d.zip
Log all events to message pane
This is maybe a bit much, or they need to be cleaned up a bit to be more presentable, but I like the transparency.
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r--src/AlsaDriver.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 8eaa985..1936d30 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -308,9 +308,7 @@ AlsaDriver::connect(const PortID& tail_id, const PortID& head_id)
result = false;
}
- if (result) {
- _log.info(fmt::format("[ALSA] Connected {} => {}", tail_id, head_id));
- } else {
+ if (!result) {
_log.error(
fmt::format("[ALSA] Failed to connect {} => {}", tail_id, head_id));
}
@@ -357,8 +355,6 @@ AlsaDriver::disconnect(const PortID& tail_id, const PortID& head_id)
return false;
}
- _log.info(fmt::format("[ALSA] Disconnected {} => {}", tail_id, head_id));
-
return true;
}