From dbe72ddb8eb215de6d38cd01ed201704ab315a4f Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Jan 2025 18:27:21 +0100 Subject: Compensate phase --- PCM.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'PCM.h') diff --git a/PCM.h b/PCM.h index 90abc3d..e7c7a5e 100644 --- a/PCM.h +++ b/PCM.h @@ -6,6 +6,8 @@ #include +#include + #include #include @@ -21,7 +23,7 @@ public: PCM(); ~PCM(); - void click(int64_t offset_us); + void click(std::chrono::duration offset); // generate 1 buffer size void generate(); -- cgit v1.2.3