]> git.sesse.net Git - nageru/blobdiff - alsa_input.h
If a dead device comes back, put it into the right slot.
[nageru] / alsa_input.h
index a93b984fb2ec48ff0d32d4fe4fcfa650317c2a04..4638e4bb802ff875dea5e48a59cb285fda852ff1 100644 (file)
@@ -184,7 +184,10 @@ private:
 
        // 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();
+       unsigned find_free_device_index(const std::string &name,
+                                       const std::string &info,
+                                       unsigned num_channels,
+                                       const std::string &address);
 
        friend class ALSAInput;
 };