summaryrefslogtreecommitdiffhomepage
path: root/PCM.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-04 09:22:17 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-04 09:22:17 +0100
commit9351c6d9812523b0b8027f2b2e0de54c27004bc2 (patch)
tree6cbf97a8a699630f83bdc1bc93a51736874e82bb /PCM.h
parent0399f008b22482c46d37fa15e6be205b85681011 (diff)
Fix config
Diffstat (limited to 'PCM.h')
-rw-r--r--PCM.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/PCM.h b/PCM.h
index a74b2ea..a9e251c 100644
--- a/PCM.h
+++ b/PCM.h
@@ -1,6 +1,7 @@
#pragma once
#include "config.h"
+#include "debug.h"
#include "log.h"
#include <libreichwein/file.h>
@@ -132,7 +133,7 @@ public:
if (0 > snd_pcm_avail_delay(handle, &avail, &delay)) {
log_cout << "Error detecting avail and delay" << std::endl;
} else {
- log_cout << fmt::format("Delay: {}, avail. buffer; {} frames", delay, avail) << std::endl;
+ debug_cout << fmt::format("Delay: {}, avail. buffer; {} frames", delay, avail) << std::endl;
}
generate();