mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
Merge pull request #874 from whatdoineed2do/alsa-section-cfg-mixer-devname
[alsa] cfg section typo using 'mixer_device_name'
This commit is contained in:
commit
501adee650
@ -1206,7 +1206,7 @@ alsa_device_add(cfg_t* cfg_audio, int id)
|
|||||||
ae->card_name = cfg_getstr(cfg_audio, "card");
|
ae->card_name = cfg_getstr(cfg_audio, "card");
|
||||||
|
|
||||||
ae->mixer_name = cfg_getstr(cfg_audio, "mixer");
|
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)
|
if (!ae->mixer_device_name || strlen(ae->mixer_device_name) == 0)
|
||||||
ae->mixer_device_name = ae->card_name;
|
ae->mixer_device_name = ae->card_name;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user