1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-10 18:43:28 -05:00

WDSP: added missing exports for Mac and Windows

This commit is contained in:
f4exb 2024-07-23 19:39:09 +02:00
parent b975658758
commit 3bdfeb54ff
5 changed files with 12 additions and 8 deletions

View File

@ -647,8 +647,8 @@ void RXA::flush_rxa (RXA *rxa)
void RXA::xrxa (RXA *rxa) void RXA::xrxa (RXA *rxa)
{ {
rxa->anb->x(); rxa->anb->execute();
rxa->nob->x(); rxa->nob->execute();
SHIFT::xshift (rxa->shift); SHIFT::xshift (rxa->shift);
RESAMPLE::xresample (rxa->rsmpin); RESAMPLE::xresample (rxa->rsmpin);
GEN::xgen (rxa->gen0); GEN::xgen (rxa->gen0);

View File

@ -98,7 +98,7 @@ ANB::~ANB()
delete[] wave; delete[] wave;
} }
void ANB::x() void ANB::execute()
{ {
double scale; double scale;
double mag; double mag;

View File

@ -28,11 +28,13 @@ warren@wpratt.com
#ifndef wdsp_anb_h #ifndef wdsp_anb_h
#define wdsp_anb_h #define wdsp_anb_h
#include "export.h"
namespace WDSP { namespace WDSP {
class RXA; class RXA;
class ANB class WDSP_API ANB
{ {
public: public:
int run; int run;
@ -81,7 +83,7 @@ public:
~ANB(); ~ANB();
void flush(); void flush();
void x(); void execute();
void setBuffers(float* in, float* out); void setBuffers(float* in, float* out);
void setSize(int size); void setSize(int size);
// Common interface // Common interface

View File

@ -159,7 +159,7 @@ void NOB::flush()
std::fill(ffbuff, ffbuff + filterlen * 2, 0); std::fill(ffbuff, ffbuff + filterlen * 2, 0);
} }
void NOB::x() void NOB::execute()
{ {
double scale; double scale;
double mag; double mag;

View File

@ -28,11 +28,13 @@ warren@wpratt.com
#ifndef wdsp_nob_h #ifndef wdsp_nob_h
#define wdsp_nob_h #define wdsp_nob_h
#include "export.h"
namespace WDSP { namespace WDSP {
class RXA; class RXA;
class NOB class WDSP_API NOB
{ {
public: public:
int run; int run;
@ -100,7 +102,7 @@ public:
~NOB(); ~NOB();
//////////// legacy interface - remove //////////// legacy interface - remove
void flush(); void flush();
void x(); void execute();
void setBuffers(float* in, float* out); void setBuffers(float* in, float* out);
void setSize(int size); void setSize(int size);
// Common interface // Common interface