]> git.sesse.net Git - nageru/blobdiff - alsa_input.h
Unplug ALSA cards as soon as we get the inotify message.
[nageru] / alsa_input.h
index 4638e4bb802ff875dea5e48a59cb285fda852ff1..c0dbafc4e69e408c55538e3dc5446d51ef6a73c4 100644 (file)
@@ -182,6 +182,8 @@ private:
        };
        ProbeResult probe_device_once(unsigned card_index, unsigned dev_index);
 
+       void unplug_device(unsigned card_index, unsigned dev_index);
+
        // Must be called with <mu> held. Will allocate a new entry if needed.
        // The returned entry will be set to READY state.
        unsigned find_free_device_index(const std::string &name,