mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-10-17 19:30:02 +02:00
Rewrote the waterfall
This commit is contained in:
@@ -100,7 +100,6 @@ namespace dsp {
|
||||
return;
|
||||
}
|
||||
_tapCount = taps.size();
|
||||
printf("[%d]\n", _tapCount);
|
||||
delete[] _taps;
|
||||
delete[] delayBuf;
|
||||
_taps = new float[_tapCount];
|
||||
@@ -316,7 +315,7 @@ namespace dsp {
|
||||
int delaySize = (_this->_tapCount - 1) * sizeof(float);
|
||||
|
||||
int blockSize = _this->_blockSize;
|
||||
int outBufferLength = outputSize * sizeof(complex_t);
|
||||
int outBufferLength = outputSize * sizeof(float);
|
||||
int tapCount = _this->_tapCount;
|
||||
int decim = _this->_decim;
|
||||
float* delayBuf = _this->delayBuf;
|
||||
|
@@ -38,7 +38,6 @@ namespace dsp {
|
||||
while (dataRead < len) {
|
||||
int canRead = waitUntilReadable();
|
||||
if (canRead < 0) {
|
||||
printf("Reader stopped\n");
|
||||
clearReadStop();
|
||||
return -1;
|
||||
}
|
||||
@@ -65,7 +64,6 @@ namespace dsp {
|
||||
while (dataRead < len) {
|
||||
int canRead = waitUntilReadable();
|
||||
if (canRead < 0) {
|
||||
printf("reader stopped (read and skip)\n");
|
||||
clearReadStop();
|
||||
return -1;
|
||||
}
|
||||
@@ -129,7 +127,6 @@ namespace dsp {
|
||||
while (dataWrite < len) {
|
||||
int canWrite = waitUntilWriteable();
|
||||
if (canWrite < 0) {
|
||||
printf("Writer stopped\n");
|
||||
clearWriteStop();
|
||||
return -1;
|
||||
}
|
||||
|
@@ -346,8 +346,7 @@ namespace dsp {
|
||||
return;
|
||||
}
|
||||
interp.stop();
|
||||
//decim.stop();
|
||||
Sleep(200);
|
||||
decim.stop();
|
||||
running = false;
|
||||
}
|
||||
|
||||
|
@@ -39,7 +39,6 @@ namespace dsp {
|
||||
lo.start();
|
||||
mixer.start();
|
||||
if (_interp != 1) {
|
||||
printf("UH OH INTERPOLATOR STARTED :/\n");
|
||||
interp.start();
|
||||
}
|
||||
decim.start();
|
||||
|
Reference in New Issue
Block a user