]> git.sesse.net Git - nageru/blobdiff - alsa_input.h
Rename “name” to “display name”.
[nageru] / alsa_input.h
index f1216dea5a3aa898cfcca00f304eef0b24446504..bac13beca366a3884a63fe2c1e32263f46aba17e 100644 (file)
@@ -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();