MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / formatAudioDeviceShort

Function formatAudioDeviceShort

src/gui/SliceTroubleshootingDialog.cpp:180–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180QString 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
187QString formatAudioSupport(const QJsonObject& device)
188{

Callers 1

buildSummaryMethod · 0.85

Calls 2

orPlaceholderFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected