X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=alsa_input.h;h=c0dbafc4e69e408c55538e3dc5446d51ef6a73c4;hb=6b99840a3d7af07d51d84b1658ef2b1a7cdb7bcb;hp=4638e4bb802ff875dea5e48a59cb285fda852ff1;hpb=e4c99b681aceb0d960f1d56acc9dafc83643854b;p=nageru diff --git a/alsa_input.h b/alsa_input.h index 4638e4b..c0dbafc 100644 --- a/alsa_input.h +++ b/alsa_input.h @@ -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 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,