]> git.alsa-project.org Git - alsa-lib.git/commitdiff
ucm: rename mixer element identifiers
authorJaroslav Kysela <perex@perex.cz>
Wed, 27 Nov 2019 13:59:17 +0000 (14:59 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 27 Nov 2019 14:03:06 +0000 (15:03 +0100)
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>
include/use-case.h

index 80073ef1688f2696fc356d50b20329addc1db08e..150155313dd8657506d630a66847a357b5cad125 100644 (file)
@@ -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