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

Function audioDeviceIds

src/gui/MainWindow.cpp:334–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334QList<QByteArray> audioDeviceIds(const QList<QAudioDevice>& devices)
335{
336 QList<QByteArray> ids;
337 ids.reserve(devices.size());
338 for (const QAudioDevice& device : devices) {
339 if (isTransientAudioDeviceId(device.id()))
340 continue;
341 ids.append(device.id());
342 }
343 return ids;
344}
345
346bool containsAudioDeviceId(const QList<QByteArray>& ids, const QByteArray& id)
347{

Calls 3

isTransientAudioDeviceIdFunction · 0.85
idMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected