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

Function fallbackText

src/core/AudioSummaryLogger.cpp:46–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46QString fallbackText(bool fallbackOccurred, const QString& reason)
47{
48 if (!fallbackOccurred) {
49 return QStringLiteral("fallback=no");
50 }
51 const QString detail = reason.trimmed();
52 if (detail.isEmpty()) {
53 return QStringLiteral("fallback=yes");
54 }
55 return QStringLiteral("fallback=yes (%1)").arg(detail);
56}
57
58QString modeText(int channelCount)
59{

Callers 4

formatRxSinkFunction · 0.85
formatTxSourceFunction · 0.85
formatCwSidetoneFunction · 0.85
formatAuxiliarySinkFunction · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected