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

Function wisdomDir

src/core/AudioEngine.cpp:5028–5042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5026}
5027
5028static QString wisdomDir()
5029{
5030#ifdef _WIN32
5031 // Windows: use %APPDATA%/AetherSDR/
5032 QString dir = QDir::homePath() + "/AppData/Roaming/AetherSDR/";
5033#else
5034 // Singular ~/.config/AetherSDR/ — matches AppSettings, the log dir,
5035 // and the other ConfigLocation users. Pre-fix this was the
5036 // double-nested ~/.config/AetherSDR/AetherSDR/ path, which forced an
5037 // FFTW wisdom regeneration on first launch after the dir unified.
5038 QString dir = QDir::homePath() + "/.config/AetherSDR/";
5039#endif
5040 QDir().mkpath(dir);
5041 return dir;
5042}
5043
5044QString AudioEngine::wisdomFilePath()
5045{

Callers 5

wisdomFilePathMethod · 0.85
logNr2WisdomSummaryFunction · 0.85
needsWisdomGenerationMethod · 0.85
generateWisdomMethod · 0.85
setNr2EnabledMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected