X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=alsa_pool.h;h=904e2ecf971f9850744b5e5a723e00aae073c399;hp=b5d4cd542742b6dfbfdbf4c862a56961335aab99;hb=refs%2Fheads%2Fcef;hpb=12ef90072622a8001f2c3cc853e5b89ba7d4e94e diff --git a/alsa_pool.h b/alsa_pool.h index b5d4cd5..904e2ec 100644 --- a/alsa_pool.h +++ b/alsa_pool.h @@ -1,19 +1,14 @@ #ifndef _ALSA_POOL_H #define _ALSA_POOL_H 1 -#include #include -#include +#include #include #include #include #include #include -#include "alsa_input.h" -#include "bmusb/bmusb.h" -#include "timebase.h" - class ALSAInput; class DeviceSpecProto; @@ -21,6 +16,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 +145,9 @@ private: 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; };