X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=alsa_input.h;h=bac13beca366a3884a63fe2c1e32263f46aba17e;hb=9f7791f6dc6ef7cba926e0b36432a096947fb38a;hp=f1216dea5a3aa898cfcca00f304eef0b24446504;hpb=1bd39979930888eaa6061d17cc5122f970d3d66e;p=nageru diff --git a/alsa_input.h b/alsa_input.h index f1216de..bac13be 100644 --- a/alsa_input.h +++ b/alsa_input.h @@ -119,6 +119,8 @@ public: // at any given time as a result of an error or hotplug event; // a card that is held will go to the DEAD state instead. bool held = false; + + std::string display_name() const { return name + " (" + info + ")"; } }; void init();