alsa-monitor: also try card_name as description

See #524
This commit is contained in:
Wim Taymans 2021-01-11 15:23:59 +01:00
parent 9862560f55
commit 24c7f45118

View file

@ -611,6 +611,9 @@ static int update_device_props(struct device *device)
if (!d)
d = pw_properties_get(p, PW_KEY_DEVICE_PRODUCT_NAME);
if (!d)
d = pw_properties_get(p, SPA_KEY_API_ALSA_CARD_NAME);
if (!d)
d = "Unknown device";