]> git.alsa-project.org Git - alsa-lib.git/commit
Fix sort-out of non-existing devices in namehint
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Oct 2008 15:51:45 +0000 (17:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Oct 2008 15:51:45 +0000 (17:51 +0200)
commit3b2c53c2a6fe858f90505dea6f911411f47e8f1c
treec02dfa7de58e1d170c59598e0c6d07d0cb7a1dc1
parentce3df031354d4e61c42f025b34a2020b5b35f27b
Fix sort-out of non-existing devices in namehint

get_dev_name() checks wrongly the device_output, and it doesn't check
properly the case when only device is set and device_input and output
are unset.  This resulted in listing of non-existing HDMI device, for
example.  The patch fixes both issues.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/namehint.c