]> git.alsa-project.org Git - alsa-lib.git/commitdiff
ucm: docs - add Mic/DigitalMic and multiple devices comments
authorJaroslav Kysela <perex@perex.cz>
Thu, 5 Dec 2019 15:59:05 +0000 (16:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Dec 2019 15:59:05 +0000 (16:59 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/use-case.h

index 25998cb9bad5c2efbddf5ce0cc7b582a3a8cecbd..1736da25b64967c47c87087ee9320a08bc9d33d0 100644 (file)
@@ -114,10 +114,18 @@ extern "C" {
  *
  * Physical system devices the render and capture audio. Devices can be OR'ed
  * together to support audio on simultaneous devices.
+ *
+ * If multiple devices with the same name exists, the number suffixes should
+ * be added to these names like HDMI1,HDMI2,HDMI3 etc. No number gaps are
+ * allowed. The names with numbers must be continuous.
+ *
+ * The preference of the devices is determined by the priority value.
  */
 #define SND_USE_CASE_DEV_NONE          "None"          /**< None Device */
 #define SND_USE_CASE_DEV_SPEAKER       "Speaker"       /**< Speaker Device */
 #define SND_USE_CASE_DEV_LINE          "Line"          /**< Line Device */
+#define SND_USE_CASE_DEV_MIC            "Mic"           /**< Integrated Analog Microphone */
+#define SND_USE_CASE_DEV_DIGITAL_MIC    "DigitalMic"    /**< Integrated Digital Microphone */
 #define SND_USE_CASE_DEV_HEADPHONES    "Headphones"    /**< Headphones Device */
 #define SND_USE_CASE_DEV_HEADSET       "Headset"       /**< Headset Device */
 #define SND_USE_CASE_DEV_HANDSET       "Handset"       /**< Handset Device */