Dropping support for old volk and ubuntu versions, please update..;

This commit is contained in:
Ryzerth
2021-04-26 17:03:52 +02:00
parent 27697bb638
commit 128e52e33a
27 changed files with 22 additions and 80 deletions

View File

@ -2,11 +2,7 @@
#include <spdlog/spdlog.h>
#include <fstream>
#ifdef USE_EXPERIMENTAL_FS
#include <experimental/filesystem>
#else
#include <filesystem>
#endif
ConfigManager::ConfigManager() {

View File

@ -30,11 +30,7 @@ namespace dsp {
}
if constexpr (std::is_same_v<T, complex_t> || std::is_same_v<T, stereo_t>) {
#ifdef USE_OLD_VOLK_ADD
volk_32f_x2_add_32f((float*)out.writeBuf, (float*)_a->readBuf, (float*)_b->readBuf, a_count * 2);
#else
volk_32fc_x2_add_32fc((lv_32fc_t*)out.writeBuf, (lv_32fc_t*)_a->readBuf, (lv_32fc_t*)_b->readBuf, a_count);
#endif
}
else {
volk_32f_x2_add_32f(out.writeBuf, _a->readBuf, _b->readBuf, a_count);