summaryrefslogtreecommitdiffhomepage
path: root/PCM.h
diff options
context:
space:
mode:
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();