]> git.sesse.net Git - nageru/blobdiff - nageru/midi_mapper.h
Give the ALSA threads names.
[nageru] / nageru / midi_mapper.h
index a25994357c6e81df285fa97fa023ff5d0a0d003a..dd5c7ab33a7bf957adf3da5d12264f0a4f11c39b 100644 (file)
@@ -13,7 +13,6 @@
 #include <map>
 #include <memory>
 #include <mutex>
-#include <set>
 #include <string>
 #include <thread>
 
@@ -110,10 +109,9 @@ private:
        void update_highlights();
 
        void update_lights_lock_held();
-       void activate_lights_all_buses(int field_number, std::set<unsigned> *active_lights);
+       void activate_lights_all_buses(int field_number, std::map<MIDIDevice::LightKey, uint8_t> *active_lights);
 
        std::atomic<bool> should_quit{false};
-       int should_quit_fd;
 
        std::atomic<bool> has_peaked[MAX_BUSES] {{ false }};