]> git.sesse.net Git - nageru/blobdiff - nageru/alsa_input.h
IWYU-fix nageru/*.h.
[nageru] / nageru / alsa_input.h
index 825d4b686d05c11a6ffddcb17510f61a9f361dbe..b9cfc83832359261ec790763a8abab8af44b9541 100644 (file)
@@ -9,8 +9,6 @@
 
 #include <alsa/asoundlib.h>
 #include <stdint.h>
-#include <sys/types.h>
-#include <atomic>
 #include <chrono>
 #include <functional>
 #include <memory>
@@ -48,6 +46,7 @@ public:
        static bool set_base_params(const char *device_name, snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hw_params, unsigned *sample_rate);
 
 private:
+       bool done_init = false;
        void capture_thread_func();
 
        enum class CaptureEndReason {