X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=alsa_pool.h;h=7bab80806f309828f160e8bc4580e56d2fe30ff3;hb=45aa08dd2f81037860fdd3c5d1115736f7acf1a8;hp=bc82201bf76a8c9be329328ff2e5f6cc3c541010;hpb=34dabe75b7985a42432a2c0f948a9c5a9404e57b;p=nageru diff --git a/alsa_pool.h b/alsa_pool.h index bc82201..7bab808 100644 --- a/alsa_pool.h +++ b/alsa_pool.h @@ -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 { @@ -148,6 +149,11 @@ private: unsigned num_channels, const std::string &address); + std::atomic should_quit{false}; + int should_quit_fd; + std::thread inotify_thread; + std::atomic retry_threads_running{0}; + friend class ALSAInput; };