X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Falsa_input.h;h=b9cfc83832359261ec790763a8abab8af44b9541;hb=a0e57ec99e9dfdd7e79bcf21e8c996dc43b6cb49;hp=825d4b686d05c11a6ffddcb17510f61a9f361dbe;hpb=8f9854b994be8dead8a5a1e9921402b7e1d6f12c;p=nageru diff --git a/nageru/alsa_input.h b/nageru/alsa_input.h index 825d4b6..b9cfc83 100644 --- a/nageru/alsa_input.h +++ b/nageru/alsa_input.h @@ -9,8 +9,6 @@ #include #include -#include -#include #include #include #include @@ -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 {