X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.h;h=560827ae26a96b80ca0150131d551bb758043fb1;hb=21bd3592c1a692463abd321047c2c612f91cc2ad;hp=05471d6d61ae550af47a8ceb03faebfbc29697ca;hpb=a67460db8ba2c3c50e75866fa85091fbebdc7386;p=nageru diff --git a/mixer.h b/mixer.h index 05471d6..560827a 100644 --- a/mixer.h +++ b/mixer.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -561,7 +562,7 @@ private: bool is_mode_scanning[MAX_CARDS]{ false }; std::vector mode_scanlist[MAX_CARDS]; unsigned mode_scanlist_index[MAX_CARDS]{ 0 }; - timespec last_mode_scan_change[MAX_CARDS]; + std::chrono::steady_clock::time_point last_mode_scan_change[MAX_CARDS]; }; extern Mixer *global_mixer;