Merge pull request #1054 from whatdoineed2do/alsa-dump-card-with-devnames

[alsa] dump_card() includes ALSA device name
This commit is contained in:
ejurgensen 2020-07-15 10:14:14 +02:00 committed by GitHub
commit 703f528599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ dump_card(int card, snd_ctl_card_info_t *info)
if (mixerstr[0] == '\0')
sprintf(mixerstr, " (no mixers found)");
DPRINTF(E_INFO, L_LAUDIO, "Available ALSA playback mixer(s) on '%s' (%s):%s\n", hwdev, snd_ctl_card_info_get_name(info), mixerstr);
DPRINTF(E_INFO, L_LAUDIO, "Available ALSA playback mixer(s) on %s CARD=%s (%s):%s\n", hwdev, snd_ctl_card_info_get_id(info), snd_ctl_card_info_get_name(info), mixerstr);
errormixer:
snd_mixer_close(mixer);