diff options
-rw-r--r-- | PCM.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |