diff --git a/plugins/samplesource/sdrdaemonsource/CMakeLists.txt b/plugins/samplesource/sdrdaemonsource/CMakeLists.txt index ee43b008b..51c2c5ca8 100644 --- a/plugins/samplesource/sdrdaemonsource/CMakeLists.txt +++ b/plugins/samplesource/sdrdaemonsource/CMakeLists.txt @@ -1,32 +1,32 @@ -project(sdrdaemonfec) +project(sdrdaemonsource) find_package(LibNANOMSG) if (HAS_SSSE3) - message(STATUS "SDRdaemonFEC: use SSSE3 SIMD" ) + message(STATUS "SDRdaemonSource: use SSSE3 SIMD" ) elseif (HAS_NEON) - message(STATUS "SDRdaemonFEC: use Neon SIMD" ) + message(STATUS "SDRdaemonSource: use Neon SIMD" ) else() - message(STATUS "SDRdaemonFEC: Unsupported architecture") + message(STATUS "SDRdaemonSource: Unsupported architecture") return() endif() -set(sdrdaemonfec_SOURCES - sdrdaemonfecbuffer.cpp - sdrdaemonfecgui.cpp - sdrdaemonfecinput.cpp - sdrdaemonfecsettings.cpp - sdrdaemonfecplugin.cpp - sdrdaemonfecudphandler.cpp +set(sdrdaemonsource_SOURCES + sdrdaemonsourcebuffer.cpp + sdrdaemonsourcegui.cpp + sdrdaemonsourceinput.cpp + sdrdaemonsourcesettings.cpp + sdrdaemonsourceplugin.cpp + sdrdaemonsourceudphandler.cpp ) -set(sdrdaemonfec_HEADERS - sdrdaemonfecbuffer.h - sdrdaemonfecgui.h - sdrdaemonfecinput.h - sdrdaemonfecsettings.h - sdrdaemonfecplugin.h - sdrdaemonfecudphandler.h +set(sdrdaemonsource_HEADERS + sdrdaemonsourcebuffer.h + sdrdaemonsourcegui.h + sdrdaemonsourceinput.h + sdrdaemonsourcesettings.h + sdrdaemonsourceplugin.h + sdrdaemonsourceudphandler.h ) set(sdrdaemonsource_FORMS @@ -38,24 +38,24 @@ add_definitions(${QT_DEFINITIONS}) add_definitions(-DQT_PLUGIN) add_definitions(-DQT_SHARED) -#qt4_wrap_cpp(sdrdaemonfec_HEADERS_MOC ${sdrdaemonfec_HEADERS}) +#qt4_wrap_cpp(sdrdaemonsource_HEADERS_MOC ${sdrdaemonsource_HEADERS}) qt5_wrap_ui(sdrdaemonsource_FORMS_HEADERS ${sdrdaemonsource_FORMS}) -add_library(inputsdrdaemonfec SHARED - ${sdrdaemonfec_SOURCES} - ${sdrdaemonfec_HEADERS_MOC} +add_library(inputsdrdaemonsource SHARED + ${sdrdaemonsource_SOURCES} + ${sdrdaemonsource_HEADERS_MOC} ${sdrdaemonsource_FORMS_HEADERS} ) if (BUILD_DEBIAN) -target_include_directories(inputsdrdaemonfec PUBLIC +target_include_directories(inputsdrdaemonsource PUBLIC . ${CMAKE_CURRENT_BINARY_DIR} ${LIBCM256CCSRC} ${LIBNANOMSG_INCLUDE_DIR} ) else (BUILD_DEBIAN) -target_include_directories(inputsdrdaemonfec PUBLIC +target_include_directories(inputsdrdaemonsource PUBLIC . ${CMAKE_CURRENT_BINARY_DIR} ${CM256CC_INCLUDE_DIR} @@ -64,14 +64,14 @@ target_include_directories(inputsdrdaemonfec PUBLIC endif (BUILD_DEBIAN) if (BUILD_DEBIAN) -target_link_libraries(inputsdrdaemonfec +target_link_libraries(inputsdrdaemonsource ${QT_LIBRARIES} cm256cc ${LIBNANOMSG_LIBRARIES} sdrbase ) else (BUILD_DEBIAN) -target_link_libraries(inputsdrdaemonfec +target_link_libraries(inputsdrdaemonsource ${QT_LIBRARIES} ${CM256CC_LIBRARIES} ${LIBNANOMSG_LIBRARIES} @@ -79,6 +79,6 @@ target_link_libraries(inputsdrdaemonfec ) endif (BUILD_DEBIAN) -qt5_use_modules(inputsdrdaemonfec Core Widgets) +qt5_use_modules(inputsdrdaemonsource Core Widgets) -install(TARGETS inputsdrdaemonfec DESTINATION lib/plugins/samplesource) +install(TARGETS inputsdrdaemonsource DESTINATION lib/plugins/samplesource) diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfec.pro b/plugins/samplesource/sdrdaemonsource/sdrdaemonsource.pro similarity index 76% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfec.pro rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsource.pro index a4d8a0ea5..f85b3021f 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfec.pro +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsource.pro @@ -9,7 +9,7 @@ CONFIG += plugin QT += core gui widgets multimedia network opengl -TARGET = inputsdrdaemonfec +TARGET = inputsdrdaemonsource CONFIG(MINGW32):LIBNANOMSGSRC = "D:\softs\nanomsg-0.8-beta" CONFIG(MINGW64):LIBNANOMSGSRC = "D:\softs\nanomsg-0.8-beta" @@ -36,21 +36,21 @@ CONFIG(Debug):build_subdir = debug CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0" CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0" -SOURCES += sdrdaemonfecbuffer.cpp\ -sdrdaemonfecgui.cpp\ -sdrdaemonfecinput.cpp\ -sdrdaemonfecsettings.cpp\ -sdrdaemonfecplugin.cpp\ -sdrdaemonfecudphandler.cpp +SOURCES += sdrdaemonsourcebuffer.cpp\ +sdrdaemonsourcegui.cpp\ +sdrdaemonsourceinput.cpp\ +sdrdaemonsourcesettings.cpp\ +sdrdaemonsourceplugin.cpp\ +sdrdaemonsourceudphandler.cpp -HEADERS += sdrdaemonfecbuffer.h\ -sdrdaemonfecgui.h\ -sdrdaemonfecinput.h\ -sdrdaemonfecsettings.h\ -sdrdaemonfecplugin.h\ -sdrdaemonfecudphandler.h +HEADERS += sdrdaemonsourcebuffer.h\ +sdrdaemonsourcegui.h\ +sdrdaemonsourceinput.h\ +sdrdaemonsourcesettings.h\ +sdrdaemonsourceplugin.h\ +sdrdaemonsourceudphandler.h -FORMS += sdrdaemonfecgui.ui +FORMS += sdrdaemonsourcegui.ui LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase LIBS += -L../../../lz4/$${build_subdir} -llz4 diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.cpp similarity index 99% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.cpp index dbd73286f..ab64a49a5 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.cpp @@ -14,8 +14,6 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecbuffer.h" - #include #include #include @@ -23,6 +21,7 @@ #include #include #include +#include "sdrdaemonsourcebuffer.h" diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.h similarity index 98% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.h index 6d7f65363..c9e11dc23 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecbuffer.h +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcebuffer.h @@ -14,8 +14,8 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_ -#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_ +#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEBUFFER_H_ +#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEBUFFER_H_ #include #include @@ -270,4 +270,4 @@ private: -#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_ */ +#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEBUFFER_H_ */ diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.cpp similarity index 99% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.cpp index 2c008cbfb..15aa14519 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.cpp @@ -14,8 +14,6 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecgui.h" - #include #include #include @@ -41,6 +39,7 @@ #include #include +#include "sdrdaemonsourcegui.h" SDRdaemonFECGui::SDRdaemonFECGui(DeviceSourceAPI *deviceAPI, QWidget* parent) : QWidget(parent), diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.h similarity index 99% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.h index 2548cb8b4..ddf443a57 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecgui.h +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcegui.h @@ -21,7 +21,7 @@ #include #include "plugin/plugingui.h" -#include "sdrdaemonfecinput.h" +#include "sdrdaemonsourceinput.h" class DeviceSourceAPI; class FileRecord; diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.cpp similarity index 97% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.cpp index 0e3bc471a..9623158b0 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.cpp @@ -14,8 +14,6 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecinput.h" - #include #include #include @@ -26,8 +24,9 @@ #include #include -#include "../sdrdaemonsource/sdrdaemonfecgui.h" -#include "../sdrdaemonsource/sdrdaemonfecudphandler.h" +#include "sdrdaemonsourcegui.h" +#include "sdrdaemonsourceinput.h" +#include "sdrdaemonsourceudphandler.h" MESSAGE_CLASS_DEFINITION(SDRdaemonFECInput::MsgConfigureSDRdaemonFEC, Message) MESSAGE_CLASS_DEFINITION(SDRdaemonFECInput::MsgConfigureSDRdaemonUDPLink, Message) diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.h similarity index 99% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.h index 3bfbba204..be3bebef4 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecinput.h +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceinput.h @@ -24,7 +24,7 @@ #include #include -#include "sdrdaemonfecsettings.h" +#include "sdrdaemonsourcesettings.h" class DeviceSourceAPI; class SDRdaemonFECUDPHandler; diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecplugin.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceplugin.cpp similarity index 97% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecplugin.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceplugin.cpp index 4243eacc5..585d52984 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecplugin.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceplugin.cpp @@ -14,8 +14,6 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecplugin.h" - #include #include #include "plugin/pluginapi.h" @@ -23,7 +21,8 @@ #include -#include "sdrdaemonfecgui.h" +#include "sdrdaemonsourcegui.h" +#include "sdrdaemonsourceplugin.h" const PluginDescriptor SDRdaemonFECPlugin::m_pluginDescriptor = { QString("SDRdaemon with FEC input"), diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecplugin.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceplugin.h similarity index 100% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecplugin.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceplugin.h diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecsettings.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcesettings.cpp similarity index 98% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecsettings.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcesettings.cpp index 43abf78ab..0e7dbaab1 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecsettings.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcesettings.cpp @@ -14,9 +14,8 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecsettings.h" - #include "util/simpleserializer.h" +#include "sdrdaemonsourcesettings.h" SDRdaemonFECSettings::SDRdaemonFECSettings() { diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecsettings.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourcesettings.h similarity index 100% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecsettings.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourcesettings.h diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.cpp b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.cpp similarity index 99% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.cpp rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.cpp index f0f9656e7..64aa1ec84 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.cpp +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.cpp @@ -14,8 +14,6 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "sdrdaemonfecudphandler.h" - #include #include #include @@ -24,7 +22,9 @@ #include "dsp/dspcommands.h" #include "dsp/dspengine.h" #include -#include "../sdrdaemonsource/sdrdaemonfecinput.h" + +#include "sdrdaemonsourceinput.h" +#include "sdrdaemonsourceudphandler.h" SDRdaemonFECUDPHandler::SDRdaemonFECUDPHandler(SampleSinkFifo *sampleFifo, MessageQueue *outputMessageQueueToGUI, DeviceSourceAPI *devieAPI) : m_deviceAPI(devieAPI), diff --git a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.h b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.h similarity index 91% rename from plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.h rename to plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.h index caf4de6ec..88f66057d 100644 --- a/plugins/samplesource/sdrdaemonsource/sdrdaemonfecudphandler.h +++ b/plugins/samplesource/sdrdaemonsource/sdrdaemonsourceudphandler.h @@ -14,8 +14,8 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_ -#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_ +#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEUDPHANDLER_H_ +#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEUDPHANDLER_H_ #include #include @@ -23,7 +23,7 @@ #include #include -#include "sdrdaemonfecbuffer.h" +#include "sdrdaemonsourcebuffer.h" #define SDRDAEMONFEC_THROTTLE_MS 50 @@ -83,4 +83,4 @@ private slots: -#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_ */ +#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCEUDPHANDLER_H_ */ diff --git a/sdrangel.windows.pro b/sdrangel.windows.pro index 1cd276c75..0e35a8481 100644 --- a/sdrangel.windows.pro +++ b/sdrangel.windows.pro @@ -23,7 +23,7 @@ SUBDIRS += serialdv CONFIG(MINGW64)SUBDIRS += cm256cc SUBDIRS += plugins/samplesource/filesource CONFIG(MINGW64)SUBDIRS += plugins/samplesource/sdrdaemon -CONFIG(MINGW64)SUBDIRS += plugins/samplesource/sdrdaemonfec +CONFIG(MINGW64)SUBDIRS += plugins/samplesource/sdrdaemonsource SUBDIRS += plugins/samplesource/rtlsdr SUBDIRS += plugins/samplesource/hackrfinput SUBDIRS += plugins/samplesource/airspy