]> git.sesse.net Git - nageru/blobdiff - alsa_pool.h
Shut down the ALSA inotify thread cleanly on exit.
[nageru] / alsa_pool.h
index bc82201bf76a8c9be329328ff2e5f6cc3c541010..b5d4cd542742b6dfbfdbf4c862a56961335aab99 100644 (file)
@@ -148,6 +148,10 @@ private:
                                        unsigned num_channels,
                                        const std::string &address);
 
+       std::atomic<bool> should_quit{false};
+
+       std::thread inotify_thread;
+
        friend class ALSAInput;
 };