summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-04 18:43:21 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-04 18:43:21 +0100
commit62c74d6bd161fdab8094c37508db39ac0cc2578a (patch)
tree339269d0aacf63810493f9b5b1dc5a2b2a4fefae
parent0d603dc0d8f3a1fcc4d348114a6a0638608dad73 (diff)
Fix header
-rw-r--r--PCM.h3
1 files changed, 2 insertions, 1 deletions
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<double> offset);
@@ -38,6 +38,7 @@ public:
bool write_available();
private:
+ Config& m_config;
int err;
snd_pcm_t *handle;