Merge pull request #874 from whatdoineed2do/alsa-section-cfg-mixer-devname

[alsa] cfg section typo using 'mixer_device_name'
This commit is contained in:
ejurgensen 2020-01-03 21:01:12 +01:00 committed by GitHub
commit 501adee650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;