| 5026 | } |
| 5027 | |
| 5028 | static 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 | |
| 5044 | QString AudioEngine::wisdomFilePath() |
| 5045 | { |
no outgoing calls
no test coverage detected