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

Function sameAudioDeviceSelection

src/gui/MainWindow.cpp:390–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390bool sameAudioDeviceSelection(const QAudioDevice& lhs, const QAudioDevice& rhs)
391{
392 if (lhs.isNull() && rhs.isNull())
393 return true;
394 if (lhs.isNull() || rhs.isNull())
395 return false;
396 return lhs.id() == rhs.id();
397}
398
399// memoryRevealTargetMatches moved to MainWindow_Wiring.cpp (#3351 Phase 1d).
400

Callers 1

Calls 2

isNullMethod · 0.80
idMethod · 0.80

Tested by

no test coverage detected