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

Function deviceListToJson

src/core/DeviceDiagnostics.cpp:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143QJsonArray deviceListToJson(const QList<QAudioDevice>& devices,
144 const QAudioDevice& selected,
145 const QAudioDevice& defaultDevice,
146 const QString& direction)
147{
148 QJsonArray array;
149 for (const QAudioDevice& device : devices)
150 array.append(deviceToJson(device, selected, defaultDevice, direction));
151 return array;
152}
153
154bool devicePresent(const QList<QAudioDevice>& devices, const QAudioDevice& selected)
155{

Callers 1

Calls 1

deviceToJsonFunction · 0.85

Tested by

no test coverage detected