summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-11-27 14:59:17 +0100
committerJaroslav Kysela <perex@perex.cz>2019-11-27 15:03:06 +0100
commiteee55a5267cc6407b75ea87edebdbe317f2896ec (patch)
tree3e3198babbfc9f2a9bfb3f82583458c06392b586
parent09b40fdcfed2fd383f1753237b3dfd218a7d6dc2 (diff)
downloadalsa-lib-eee55a5267cc6407b75ea87edebdbe317f2896ec.tar.gz
ucm: rename mixer element identifiers
To my knowledge, no software is using the mixer element identifiers. Rename them to be more consistent with the mixer API and add Master element identifier and type. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--include/use-case.h26
1 files changed, 18 insertions, 8 deletions
diff --git a/include/use-case.h b/include/use-case.h
index 80073ef1..15015531 100644
--- a/include/use-case.h
+++ b/include/use-case.h
@@ -282,10 +282,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
* - PlaybackCTL
* - playback control device name
* - PlaybackVolume
- * - playback control volume ID string
+ * - playback control volume identifier string
* - can be parsed using snd_use_case_parse_ctl_elem_id()
* - PlaybackSwitch
- * - playback control switch ID string
+ * - playback control switch identifier string
* - can be parsed using snd_use_case_parse_ctl_elem_id()
* - CaptureRate
* - capture device sample rate
@@ -294,21 +294,31 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
* - CaptureCTL
* - capture control device name
* - CaptureVolume
- * - capture control volume ID string
+ * - capture control volume identifier string
* - can be parsed using snd_use_case_parse_ctl_elem_id()
* - CaptureSwitch
- * - capture control switch ID string
+ * - capture control switch identifier string
* - can be parsed using snd_use_case_parse_ctl_elem_id()
* - PlaybackMixer
* - name of playback mixer
- * - PlaybackMixerID
- * - mixer playback ID
+ * - PlaybackMixerElem
+ * - mixer element playback identifier
* - can be parsed using snd_use_case_parse_selem_id()
+ * - PlaybackMasterElem
+ * - mixer element playback identifier for the master control
+ * - PlaybackMasterType
+ * - type of the master volume control
+ * - Valid values: "soft" (software attenuation)
* - CaptureMixer
* - name of capture mixer
- * - CaptureMixerID
+ * - CaptureMixerElem
+ * - mixer element capture identifier
* - can be parsed using snd_use_case_parse_selem_id()
- * - mixer capture ID
+ * - CaptureMasterElem
+ * - mixer element playback identifier for the master control
+ * - CaptureMasterType
+ * - type of the master volume control
+ * - Valid values: "soft" (software attenuation)
* - EDIDFile
* - Path to EDID file for HDMI devices
* - JackControl, JackDev, JackHWMute