summaryrefslogtreecommitdiffhomepage
path: root/PCM.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-04 18:27:21 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-04 18:27:21 +0100
commitdbe72ddb8eb215de6d38cd01ed201704ab315a4f (patch)
tree8fda403192090d8560bca9fe5a2e9f9e4e1a7e41 /PCM.h
parent2e793141e5434043205763c70d3a597cf2d78eeb (diff)
Compensate phase
Diffstat (limited to 'PCM.h')
-rw-r--r--PCM.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/PCM.h b/PCM.h
index 90abc3d..e7c7a5e 100644
--- a/PCM.h
+++ b/PCM.h
@@ -6,6 +6,8 @@
#include <libreichwein/file.h>
+#include <chrono>
+
#include <alsa/asoundlib.h>
#include <fmt/format.h>
@@ -21,7 +23,7 @@ public:
PCM();
~PCM();
- void click(int64_t offset_us);
+ void click(std::chrono::duration<double> offset);
// generate 1 buffer size
void generate();