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

Method needsWisdomGeneration

src/core/AudioEngine.cpp:5151–5169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5149}
5150
5151bool AudioEngine::needsWisdomGeneration()
5152{
5153#ifndef HAVE_FFTW3
5154 return false;
5155#else
5156 const QString path = wisdomFilePath();
5157 if (!QFile::exists(path)) {
5158 logNr2WisdomSummary(QStringLiteral("NR2 enable preflight"));
5159 return true;
5160 }
5161
5162 if (!SpectralNR::loadWisdom(wisdomDir().toStdString())) {
5163 logNr2WisdomSummary(QStringLiteral("NR2 enable preflight"));
5164 return true;
5165 }
5166
5167 return false;
5168#endif
5169}
5170
5171SpectralNR::WisdomResult AudioEngine::generateWisdom(
5172 SpectralNR::WisdomProgressCb progress,

Callers

nothing calls this directly

Calls 2

logNr2WisdomSummaryFunction · 0.85
wisdomDirFunction · 0.85

Tested by

no test coverage detected