| 178 | } |
| 179 | |
| 180 | QString formatAudioDeviceShort(const QJsonObject& device) |
| 181 | { |
| 182 | const QString description = orPlaceholder(device["description"].toString(), "Unavailable"); |
| 183 | const QString bus = orPlaceholder(device["bus_type"].toString(), "Unknown"); |
| 184 | return QString("`%1` (bus `%2`)").arg(description, bus); |
| 185 | } |
| 186 | |
| 187 | QString formatAudioSupport(const QJsonObject& device) |
| 188 | { |
no test coverage detected