Suffix complete hw: ID to make ALSA card names unique
This commit is contained in:
parent
ae2b6e6b09
commit
531fa74eb1
@ -94,7 +94,7 @@ ARDOUR::get_alsa_audio_device_names (std::map<std::string, std::string>& devices
|
|||||||
string uniq_name = card_name;
|
string uniq_name = card_name;
|
||||||
|
|
||||||
if (have_multiple_subdevices) {
|
if (have_multiple_subdevices) {
|
||||||
uniq_name += " (" + PBD::to_string (device) + ")";
|
uniq_name += " (" + hwname + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::pair<std::map<std::string, std::string>::iterator, bool> rv;
|
std::pair<std::map<std::string, std::string>::iterator, bool> rv;
|
||||||
|
Loading…
Reference in New Issue
Block a user