SDRdaemonFEC: renamed folder to sdrdaemonsource

This commit is contained in:
f4exb 2017-06-09 13:42:33 +02:00
parent 9c1a38a8cf
commit 06c8df5d75
17 changed files with 36 additions and 32 deletions

View File

@ -63,12 +63,12 @@ endif(LIBNANOMSG_FOUND AND LIBLZ4_FOUND)
find_package(CM256cc)
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
add_subdirectory(sdrdaemonfec)
add_subdirectory(sdrdaemonsource)
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
if (BUILD_DEBIAN)
if (LIBNANOMSG_FOUND)
add_subdirectory(sdrdaemonfec)
add_subdirectory(sdrdaemonsource)
endif (LIBNANOMSG_FOUND)
add_subdirectory(airspy)
add_subdirectory(hackrfinput)

View File

@ -14,6 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "sdrdaemonfecbuffer.h"
#include <QDebug>
#include <cassert>
#include <cstring>
@ -22,7 +24,6 @@
#include <boost/crc.hpp>
#include <boost/cstdint.hpp>
#include "sdrdaemonfecbuffer.h"
const int SDRdaemonFECBuffer::m_sampleSize = 2;

View File

@ -14,8 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECBUFFER_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECBUFFER_H_
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_
#include <QString>
#include <QDebug>
@ -270,4 +270,4 @@ private:
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECBUFFER_H_ */
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECBUFFER_H_ */

View File

@ -14,6 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "sdrdaemonfecgui.h"
#include <stdint.h>
#include <sstream>
#include <iostream>
@ -37,8 +39,6 @@
#include "mainwindow.h"
#include "util/simpleserializer.h"
#include "sdrdaemonfecgui.h"
#include <device/devicesourceapi.h>
#include <dsp/filerecord.h>

View File

@ -14,8 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDE_SDRDAEMONFECGUI_H
#define INCLUDE_SDRDAEMONFECGUI_H
#ifndef INCLUDE_SDRDAEMONSOURCEGUI_H
#define INCLUDE_SDRDAEMONSOURCEGUI_H
#include <QTimer>
#include <sys/time.h>
@ -145,4 +145,4 @@ private slots:
void tick();
};
#endif // INCLUDE_SDRDAEMONGUI_H
#endif // INCLUDE_SDRDAEMONSOURCEGUI_H

View File

@ -14,6 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "sdrdaemonfecinput.h"
#include <string.h>
#include <errno.h>
#include <QDebug>
@ -21,13 +23,11 @@
#include "util/simpleserializer.h"
#include "dsp/dspcommands.h"
#include "dsp/dspengine.h"
#include "sdrdaemonfecinput.h"
#include <device/devicesourceapi.h>
#include <dsp/filerecord.h>
#include "sdrdaemonfecgui.h"
#include "sdrdaemonfecudphandler.h"
#include "../sdrdaemonsource/sdrdaemonfecgui.h"
#include "../sdrdaemonsource/sdrdaemonfecudphandler.h"
MESSAGE_CLASS_DEFINITION(SDRdaemonFECInput::MsgConfigureSDRdaemonFEC, Message)
MESSAGE_CLASS_DEFINITION(SDRdaemonFECInput::MsgConfigureSDRdaemonUDPLink, Message)

View File

@ -14,8 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDE_SDRDAEMONFECINPUT_H
#define INCLUDE_SDRDAEMONFECINPUT_H
#ifndef INCLUDE_SDRDAEMONSOURCEINPUT_H
#define INCLUDE_SDRDAEMONSOURCEINPUT_H
#include <dsp/devicesamplesource.h>
#include <QString>
@ -312,4 +312,4 @@ private:
bool m_autoCorrBuffer;
};
#endif // INCLUDE_SDRDAEMONFECINPUT_H
#endif // INCLUDE_SDRDAEMONSOURCEINPUT_H

View File

@ -14,13 +14,13 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "sdrdaemonfecplugin.h"
#include <QtPlugin>
#include <QAction>
#include "plugin/pluginapi.h"
#include "util/simpleserializer.h"
#include "sdrdaemonfecplugin.h"
#include <device/devicesourceapi.h>
#include "sdrdaemonfecgui.h"

View File

@ -14,8 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDE_SDRDAEMONFECPLUGIN_H
#define INCLUDE_SDRDAEMONFECPLUGIN_H
#ifndef INCLUDE_SDRDAEMONSOURCEPLUGIN_H
#define INCLUDE_SDRDAEMONSOURCEPLUGIN_H
#include <QObject>
#include "plugin/plugininterface.h"
@ -45,4 +45,4 @@ private:
static const PluginDescriptor m_pluginDescriptor;
};
#endif // INCLUDE_SDRDAEMONFECPLUGIN_H
#endif // INCLUDE_SDRDAEMONSOURCEPLUGIN_H

View File

@ -14,9 +14,10 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "util/simpleserializer.h"
#include "sdrdaemonfecsettings.h"
#include "util/simpleserializer.h"
SDRdaemonFECSettings::SDRdaemonFECSettings()
{
resetToDefaults();

View File

@ -14,10 +14,11 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECSETTINGS_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECSETTINGS_H_
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCESETTINGS_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCESETTINGS_H_
#include <QByteArray>
#include <QString>
struct SDRdaemonFECSettings {
quint64 m_centerFrequency;
@ -39,4 +40,4 @@ struct SDRdaemonFECSettings {
bool deserialize(const QByteArray& data);
};
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECSETTINGS_H_ */
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONSOURCESETTINGS_H_ */

View File

@ -14,6 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#include "sdrdaemonfecudphandler.h"
#include <QUdpSocket>
#include <QDebug>
#include <QTimer>
@ -21,9 +23,8 @@
#include "dsp/dspcommands.h"
#include "dsp/dspengine.h"
#include "sdrdaemonfecinput.h"
#include "sdrdaemonfecudphandler.h"
#include <device/devicesourceapi.h>
#include "../sdrdaemonsource/sdrdaemonfecinput.h"
SDRdaemonFECUDPHandler::SDRdaemonFECUDPHandler(SampleSinkFifo *sampleFifo, MessageQueue *outputMessageQueueToGUI, DeviceSourceAPI *devieAPI) :
m_deviceAPI(devieAPI),

View File

@ -14,8 +14,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
///////////////////////////////////////////////////////////////////////////////////
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECUDPHANDLER_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONFEC_SDRDAEMONFECUDPHANDLER_H_
#ifndef PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_
#define PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_
#include <QObject>
#include <QUdpSocket>
@ -83,4 +83,4 @@ private slots:
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMON_SDRDAEMONUDPHANDLER_H_ */
#endif /* PLUGINS_SAMPLESOURCE_SDRDAEMONSOURCE_SDRDAEMONFECUDPHANDLER_H_ */