mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-27 01:54:44 +01:00
Removed logging from the DSP lib
This commit is contained in:
parent
007761a027
commit
5f0858bab2
@ -67,10 +67,6 @@ namespace dsp::buffer {
|
|||||||
sizes[writeCur] = count;
|
sizes[writeCur] = count;
|
||||||
writeCur++;
|
writeCur++;
|
||||||
writeCur = ((writeCur) % TEST_BUFFER_SIZE);
|
writeCur = ((writeCur) % TEST_BUFFER_SIZE);
|
||||||
|
|
||||||
// if (((writeCur - readCur + TEST_BUFFER_SIZE) % TEST_BUFFER_SIZE) >= (TEST_BUFFER_SIZE-2)) {
|
|
||||||
// flog::warn("Overflow");
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
cnd.notify_all();
|
cnd.notify_all();
|
||||||
_in->flush();
|
_in->flush();
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
#include "../multirate/rrc_interpolator.h"
|
#include "../multirate/rrc_interpolator.h"
|
||||||
|
|
||||||
namespace dsp::mod {
|
namespace dsp::mod {
|
||||||
|
// TODO: Check if resample before RRC is better than using the RRC taps as a filter (bandwidth probably not correct for alias-free resampling)
|
||||||
typedef multirate::RRCInterpolator<complex_t> PSK;
|
typedef multirate::RRCInterpolator<complex_t> PSK;
|
||||||
}
|
}
|
@ -5,7 +5,7 @@
|
|||||||
#include "../math/hz_to_rads.h"
|
#include "../math/hz_to_rads.h"
|
||||||
|
|
||||||
namespace dsp::mod {
|
namespace dsp::mod {
|
||||||
class Quadrature : Processor<float, complex_t> {
|
class Quadrature : public Processor<float, complex_t> {
|
||||||
using base_type = Processor<float, complex_t>;
|
using base_type = Processor<float, complex_t>;
|
||||||
public:
|
public:
|
||||||
Quadrature() {}
|
Quadrature() {}
|
||||||
|
@ -83,8 +83,6 @@ namespace dsp::multirate {
|
|||||||
int interp = OutSR / gcd;
|
int interp = OutSR / gcd;
|
||||||
int decim = InSR / gcd;
|
int decim = InSR / gcd;
|
||||||
|
|
||||||
flog::warn("interp: {0}, decim: {1}", interp, decim);
|
|
||||||
|
|
||||||
// Configure resampler
|
// Configure resampler
|
||||||
double tapSamplerate = _symbolrate * (double)interp;
|
double tapSamplerate = _symbolrate * (double)interp;
|
||||||
rrcTaps = taps::rootRaisedCosine<float>(_rrcTapCount * interp, _rrcBeta, _symbolrate, tapSamplerate);
|
rrcTaps = taps::rootRaisedCosine<float>(_rrcTapCount * interp, _rrcBeta, _symbolrate, tapSamplerate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user