* - playback control device name
* - PlaybackVolume
* - playback control volume identifier string
- * - can be parsed using snd_use_case_parse_ctl_elem_id()
+ * - can be parsed using #snd_use_case_parse_ctl_elem_id()
* - PlaybackSwitch
* - playback control switch identifier string
- * - can be parsed using snd_use_case_parse_ctl_elem_id()
+ * - can be parsed using #snd_use_case_parse_ctl_elem_id()
* - PlaybackPriority
* - priority value (1-10000), higher value means higher priority
* - CaptureRate
* - capture control device name
* - CaptureVolume
* - capture control volume identifier string
- * - can be parsed using snd_use_case_parse_ctl_elem_id()
+ * - can be parsed using #snd_use_case_parse_ctl_elem_id()
* - CaptureSwitch
* - capture control switch identifier string
- * - can be parsed using snd_use_case_parse_ctl_elem_id()
+ * - can be parsed using #snd_use_case_parse_ctl_elem_id()
* - CapturePriority
* - priority value (1-10000), higher value means higher priority
* - PlaybackMixer
* - name of playback mixer
* - PlaybackMixerElem
* - mixer element playback identifier
- * - can be parsed using snd_use_case_parse_selem_id()
+ * - can be parsed using #snd_use_case_parse_selem_id()
* - PlaybackMasterElem
* - mixer element playback identifier for the master control
- * - can be parsed using snd_use_case_parse_selem_id()
+ * - can be parsed using #snd_use_case_parse_selem_id()
* - PlaybackMasterType
* - type of the master volume control
* - Valid values: "soft" (software attenuation)
* - name of capture mixer
* - CaptureMixerElem
* - mixer element capture identifier
- * - can be parsed using snd_use_case_parse_selem_id()
+ * - can be parsed using #snd_use_case_parse_selem_id()
* - CaptureMasterElem
* - mixer element playback identifier for the master control
- * - can be parsed using snd_use_case_parse_selem_id()
+ * - can be parsed using #snd_use_case_parse_selem_id()
* - CaptureMasterType
* - type of the master volume control
* - Valid values: "soft" (software attenuation)
* but that's application policy configuration that doesn't belong
* to UCM configuration files.
* - MinBufferLevel
- * - This is used on platform where reported buffer level is not accurate.
- * E.g. "512", which holds 512 samples in device buffer. Note: this will
- * increase latency.
+ * - This is used on platform where reported buffer level is not accurate.
+ * E.g. "512", which holds 512 samples in device buffer. Note: this will
+ * increase latency.
*/
int snd_use_case_get(snd_use_case_mgr_t *uc_mgr,
const char *identifier,
* \return Zero if success, otherwise a negative error code
*
* Known identifiers:
- * - _fboot - execute the fixed boot sequence (value = NULL)
- * - _boot - execute the boot sequence (value = NULL)
- * - only when driver controls identifiers are changed
- * (otherwise the old control values are restored)
- * - _defaults - execute the 'defaults' sequence (value = NULL)
- * - _verb - set current verb = value
- * - _enadev - enable given device = value
- * - _disdev - disable given device = value
- * - _swdev/{old_device} - new_device = value
- * - disable old_device and then enable new_device
- * - if old_device is not enabled just return
- * - check transmit sequence firstly
- * - _enamod - enable given modifier = value
- * - _dismod - disable given modifier = value
+ * - _fboot - execute the fixed boot sequence (value = NULL)
+ * - _boot - execute the boot sequence (value = NULL)
+ * - only when driver controls identifiers are changed
+ * (otherwise the old control values are restored)
+ * - _defaults - execute the 'defaults' sequence (value = NULL)
+ * - _verb - set current verb = value
+ * - _enadev - enable given device = value
+ * - _disdev - disable given device = value
+ * - _swdev/{old_device} - new_device = value
+ * - disable old_device and then enable new_device
+ * - if old_device is not enabled just return
+ * - check transmit sequence firstly
+ * - _enamod - enable given modifier = value
+ * - _dismod - disable given modifier = value
* - _swmod/{old_modifier} - new_modifier = value
- * - disable old_modifier and then enable new_modifier
- * - if old_modifier is not enabled just return
- * - check transmit sequence firstly
+ * - disable old_modifier and then enable new_modifier
+ * - if old_modifier is not enabled just return
+ * - check transmit sequence firstly
*/
int snd_use_case_set(snd_use_case_mgr_t *uc_mgr,
const char *identifier,