[alsa] cfg section typo using 'mixer_device_name'

This commit is contained in:
whatdoineed2do/Ray 2020-01-03 19:37:07 +00:00
parent e61e98bcbb
commit 7ea8eeae05

View File

@ -1206,7 +1206,7 @@ alsa_device_add(cfg_t* cfg_audio, int id)
ae->card_name = cfg_getstr(cfg_audio, "card");
ae->mixer_name = cfg_getstr(cfg_audio, "mixer");
ae->mixer_device_name = cfg_getstr(cfg_audio, "mixer_device_name");
ae->mixer_device_name = cfg_getstr(cfg_audio, "mixer_device");
if (!ae->mixer_device_name || strlen(ae->mixer_device_name) == 0)
ae->mixer_device_name = ae->card_name;