1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Don't add alsa realm suffix, as there do not appear to be duplicate names

This commit is contained in:
Jon Beniston 2020-11-09 20:55:23 +00:00
parent 330507773c
commit 90f450b25c

View File

@ -52,7 +52,7 @@ struct AudioInputSettings {
return deviceInfo.deviceName(); return deviceInfo.deviceName();
#else #else
QString realm = deviceInfo.realm(); QString realm = deviceInfo.realm();
if (realm != "" && realm != "default") if (realm != "" && realm != "default" && realm != "alsa")
return deviceInfo.deviceName() + " " + realm; return deviceInfo.deviceName() + " " + realm;
else else
return deviceInfo.deviceName(); return deviceInfo.deviceName();