From 62c74d6bd161fdab8094c37508db39ac0cc2578a Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Jan 2025 18:43:21 +0100 Subject: Fix header --- PCM.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PCM.h b/PCM.h index e7c7a5e..54771c9 100644 --- a/PCM.h +++ b/PCM.h @@ -20,7 +20,7 @@ using namespace std::string_literals; class PCM { public: - PCM(); + PCM(Config& config); ~PCM(); void click(std::chrono::duration offset); @@ -38,6 +38,7 @@ public: bool write_available(); private: + Config& m_config; int err; snd_pcm_t *handle; -- cgit v1.2.3