Browse Source

Windows: MSVC2017: changes in sdrbase (4) qrtplib (2)

chirpmodem-v8.0.0
f4exb 8 years ago
parent
commit
fd50eeb810
  1. 3
      qrtplib/rtperrors.h
  2. 1
      sdrbase/dsp/dspcommands.cpp
  3. 21
      sdrbase/dsp/dspcommands.h

3
qrtplib/rtperrors.h

@ -38,6 +38,7 @@ @@ -38,6 +38,7 @@
#define RTPERRORS_H
#include "export.h"
#include "rtpconfig.h"
#include <string>
@ -45,7 +46,7 @@ namespace qrtplib @@ -45,7 +46,7 @@ namespace qrtplib
{
/** Returns a string describing the error code \c errcode. */
std::string RTPGetErrorString(int errcode);
QRTPLIB_API std::string RTPGetErrorString(int errcode);
} // end namespace

1
sdrbase/dsp/dspcommands.cpp

@ -40,7 +40,6 @@ MESSAGE_CLASS_DEFINITION(DSPRemoveThreadedBasebandSampleSink, Message) @@ -40,7 +40,6 @@ MESSAGE_CLASS_DEFINITION(DSPRemoveThreadedBasebandSampleSink, Message)
MESSAGE_CLASS_DEFINITION(DSPRemoveThreadedBasebandSampleSource, Message)
MESSAGE_CLASS_DEFINITION(DSPAddAudioSink, Message)
MESSAGE_CLASS_DEFINITION(DSPRemoveAudioSink, Message)
//MESSAGE_CLASS_DEFINITION(DSPConfigureSpectrumVis, Message)
MESSAGE_CLASS_DEFINITION(DSPConfigureCorrection, Message)
MESSAGE_CLASS_DEFINITION(DSPEngineReport, Message)
MESSAGE_CLASS_DEFINITION(DSPConfigureScopeVis, Message)

21
sdrbase/dsp/dspcommands.h

@ -256,27 +256,6 @@ private: @@ -256,27 +256,6 @@ private:
AudioFifo* m_audioFifo;
};
class SDRBASE_API DSPConfigureSpectrumVis : public Message {
MESSAGE_CLASS_DECLARATION
public:
DSPConfigureSpectrumVis(int fftSize, int overlapPercent, FFTWindow::Function window) :
Message(),
m_fftSize(fftSize),
m_overlapPercent(overlapPercent),
m_window(window)
{ }
int getFFTSize() const { return m_fftSize; }
int getOverlapPercent() const { return m_overlapPercent; }
FFTWindow::Function getWindow() const { return m_window; }
private:
int m_fftSize;
int m_overlapPercent;
FFTWindow::Function m_window;
};
class SDRBASE_API DSPConfigureCorrection : public Message {
MESSAGE_CLASS_DECLARATION

Loading…
Cancel
Save