mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-12 04:27:45 -05:00
ucm: improve jack configuration documentation
Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
72aa0f8332
commit
ecb38d2bec
1 changed files with 18 additions and 6 deletions
|
|
@ -301,12 +301,24 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
|
||||||
* - name of capture mixer
|
* - name of capture mixer
|
||||||
* - CaptureMixerID
|
* - CaptureMixerID
|
||||||
* - mixer capture ID
|
* - mixer capture ID
|
||||||
* - JackDev
|
* - JackControl, JackDev, JackHWMute
|
||||||
* - jack device name
|
* - Jack information for a device. The jack status can be reported via
|
||||||
* - JackControl
|
* a kcontrol and/or via an input device. **JackControl** is the
|
||||||
* - jack control name
|
* kcontrol name of the jack, and **JackDev** is the input device id of
|
||||||
* - JackHWMute
|
* the jack (if the full input device path is /dev/input/by-id/foo, the
|
||||||
* - indicate if the HW mutes a device on jack insertion or not.
|
* JackDev value should be "foo"). UCM configuration files should
|
||||||
|
* contain both JackControl and JackDev when possible, because
|
||||||
|
* applications are likely to support only one or the other.
|
||||||
|
*
|
||||||
|
* If **JackHWMute** is set, it indicates that when the jack is plugged
|
||||||
|
* in, the hardware automatically mutes some other device. The
|
||||||
|
* JackHWMute value is the name of the muted device. Note that
|
||||||
|
* JackHWMute should be used only when the hardware enforces the
|
||||||
|
* automatic muting. If the hardware doesn't enforce any muting, it may
|
||||||
|
* still be tempting to set JackHWMute to trick upper software layers to
|
||||||
|
* e.g. automatically mute speakers when headphones are plugged in, but
|
||||||
|
* that's application policy configuration that doesn't belong to UCM
|
||||||
|
* configuration files.
|
||||||
*/
|
*/
|
||||||
int snd_use_case_get(snd_use_case_mgr_t *uc_mgr,
|
int snd_use_case_get(snd_use_case_mgr_t *uc_mgr,
|
||||||
const char *identifier,
|
const char *identifier,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue