release 1.0.14rc3 v1.0.14rc3
authorJaroslav Kysela <perex@perex.cz>
Mon, 26 Feb 2007 08:21:12 +0000 (09:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 26 Feb 2007 08:21:12 +0000 (09:21 +0100)
Patch-level: Merged

configure.in
src/control/namehint.c

index 3b677d2..e4e8d0b 100644 (file)
@@ -9,7 +9,7 @@ dnl add API = c+1:0:a+1
 dnl remove API = c+1:0:0
 dnl *************************************************
 AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(alsa-lib, 1.0.14rc2)
+AM_INIT_AUTOMAKE(alsa-lib, 1.0.14rc3)
 eval LIBTOOL_VERSION_INFO="2:0:0"
 dnl *************************************************
 AM_CONDITIONAL(INSTALL_M4, test -n "${ACLOCAL}")
index 7eecc78..4101134 100644 (file)
@@ -532,7 +532,9 @@ int snd_device_name_hint(int card, const char *iface, void ***hints)
        if (snd_config_search(snd_config, "defaults.namehint.showall", &conf) >= 0)
                list.show_all = snd_config_get_bool(conf) > 0;
        if (card >= 0) {
-               err = add_card(&list, card);
+               err = get_card_name(&list, card);
+               if (err >= 0)
+                       err = add_card(&list, card);
        } else {
                err = snd_card_next(&card);
                if (err < 0)