diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-04 18:27:21 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-04 18:27:21 +0100 |
commit | dbe72ddb8eb215de6d38cd01ed201704ab315a4f (patch) | |
tree | 8fda403192090d8560bca9fe5a2e9f9e4e1a7e41 /PCM.h | |
parent | 2e793141e5434043205763c70d3a597cf2d78eeb (diff) |
Compensate phase
Diffstat (limited to 'PCM.h')
-rw-r--r-- | PCM.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |