]> git.sesse.net Git - nageru/blobdiff - alsa_pool.h
Rewrite the ALSA sequencer input loop.
[nageru] / alsa_pool.h
index b5d4cd542742b6dfbfdbf4c862a56961335aab99..7bab80806f309828f160e8bc4580e56d2fe30ff3 100644 (file)
@@ -21,6 +21,7 @@ class DeviceSpecProto;
 // In particular, it deals with enumeration of cards, and hotplug of new ones.
 class ALSAPool {
 public:
+       ALSAPool();
        ~ALSAPool();
 
        struct Device {
@@ -149,8 +150,9 @@ private:
                                        const std::string &address);
 
        std::atomic<bool> should_quit{false};
-
+       int should_quit_fd;
        std::thread inotify_thread;
+       std::atomic<int> retry_threads_running{0};
 
        friend class ALSAInput;
 };