cmake库改造前

This commit is contained in:
2026-08-05 14:37:55 +08:00
parent 587c1d6d01
commit cf17c454a9
29 changed files with 1034 additions and 415 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#include "Local_Server/DSP/DSP_Config.h"
#include "../server/Global.h"
#include "Core/socket/ByteOrder.h"
#include "Psc_Cpp_Core/socket/ByteOrder.h"
#include <drogon/HttpAppFramework.h>
#include <drogon/PubSubService.h>
#include <drogon/WebSocketController.h>
+1 -1
View File
@@ -5,7 +5,7 @@
class Global;
#define USE_PROCESS 0
#ifdef USE_PROCESS
#include "Core/Shared_Memory/Shared_Memory.h"
#include "Psc_Cpp_Core/Shared_Memory/Shared_Memory.h"
#endif
// #ifdef WIN32
// #define USE_PROCESS 1
+10 -11
View File
@@ -1,16 +1,15 @@
#pragma once
#include "../../dll_source/main.h"
#include "Core/Base/JSON.h"
#include "Core/spdlog/export.h"
#include "Psc_Cpp_Core/Base/JSON.h"
#include "Psc_Cpp_Core/spdlog/export.h"
class Base_DSP {
public:
std::string library_path;
std::uint64_t center_freq{};
std::uint64_t band_width{};
std::uint64_t sample_rate{};
Psc::Copyable_Atomic<std::uint64_t> fft_point_number = 1024;
int fft_period_ms;
UHD_FFTWin fft_win_type;
PSC_USE_JSON
std::string library_path;
std::uint64_t center_freq{};
std::uint64_t band_width{};
std::uint64_t sample_rate{};
Psc::Copyable_Atomic<std::uint64_t> fft_point_number = 1024;
int fft_period_ms;
UHD_FFTWin fft_win_type;
PSC_USE_JSON
};