mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
Merge pull request #1054 from whatdoineed2do/alsa-dump-card-with-devnames
[alsa] dump_card() includes ALSA device name
This commit is contained in:
commit
703f528599
@ -247,7 +247,7 @@ dump_card(int card, snd_ctl_card_info_t *info)
|
|||||||
if (mixerstr[0] == '\0')
|
if (mixerstr[0] == '\0')
|
||||||
sprintf(mixerstr, " (no mixers found)");
|
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:
|
errormixer:
|
||||||
snd_mixer_close(mixer);
|
snd_mixer_close(mixer);
|
||||||
|
Loading…
Reference in New Issue
Block a user