From 6e76663f37a91641bae1bad05512968cdbe53f10 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Thu, 7 Jun 2018 17:44:23 +0200 Subject: Added log for card lookup diagnostic Signed-off-by: Thierry Bultel --- plugins/alsa/alsa-core-ctl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/alsa/alsa-core-ctl.c') diff --git a/plugins/alsa/alsa-core-ctl.c b/plugins/alsa/alsa-core-ctl.c index 0ef11e1..bdf6bf5 100644 --- a/plugins/alsa/alsa-core-ctl.c +++ b/plugins/alsa/alsa-core-ctl.c @@ -269,6 +269,8 @@ PUBLIC snd_ctl_card_info_t *AlsaCtlGetInfo(SoftMixerT *mixer, const char *cardid int error; snd_ctl_t *ctl; + AFB_ApiNotice(mixer->api, "Looking for card '%s'", cardid); + if ((error = snd_ctl_open(&ctl, cardid, SND_CTL_READONLY)) < 0) { cardid = "Not Defined"; goto OnErrorExit; -- cgit 1.2.3-korg