mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hdajackretask: Some more UI fixes
- don't overwrite a set advanced override unless necessary - fix "not present" never selected - remove some trailing whitespaces Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6391a860e8
commit
c416c1180d
2 changed files with 75 additions and 53 deletions
|
|
@ -460,7 +460,7 @@ static free_override_t channel_arr[] = {
|
|||
|
||||
|
||||
static free_override_t* type_order[FREE_OVERRIDES_COUNT] = {
|
||||
pc_arr, location_arr, device_arr, jack_arr,
|
||||
pc_arr, location_arr, device_arr, jack_arr,
|
||||
color_arr, no_presence_arr, group_nr_arr, channel_arr
|
||||
};
|
||||
|
||||
|
|
@ -472,7 +472,7 @@ unsigned long get_free_override_mask(int type)
|
|||
AC_DEFCFG_DEVICE,
|
||||
AC_DEFCFG_CONN_TYPE,
|
||||
AC_DEFCFG_COLOR,
|
||||
AC_DEFCFG_MISC & 1,
|
||||
AC_DEFCFG_MISC & (AC_DEFCFG_MISC_NO_PRESENCE << AC_DEFCFG_MISC_SHIFT),
|
||||
AC_DEFCFG_DEF_ASSOC,
|
||||
AC_DEFCFG_SEQUENCE,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue