1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-21 12:26:34 -04: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)
{
rxa->anb->x();
rxa->nob->x();
rxa->anb->execute();
rxa->nob->execute();
SHIFT::xshift (rxa->shift);
RESAMPLE::xresample (rxa->rsmpin);
GEN::xgen (rxa->gen0);

View File

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

View File

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

View File

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

View File

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