From 531fa74eb1667babfac79469c8e1ae36fe4eec28 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 16 Aug 2019 20:00:29 +0200 Subject: [PATCH] Suffix complete hw: ID to make ALSA card names unique --- libs/ardouralsautil/devicelist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardouralsautil/devicelist.cc b/libs/ardouralsautil/devicelist.cc index 7a02e3b17c..5a72266826 100644 --- a/libs/ardouralsautil/devicelist.cc +++ b/libs/ardouralsautil/devicelist.cc @@ -94,7 +94,7 @@ ARDOUR::get_alsa_audio_device_names (std::map& devices string uniq_name = card_name; if (have_multiple_subdevices) { - uniq_name += " (" + PBD::to_string (device) + ")"; + uniq_name += " (" + hwname + ")"; } std::pair::iterator, bool> rv;