| 22 | #define SIGDIGGER_DELAYEDCONJ_BLOCK_LENGTH 4096 |
| 23 | |
| 24 | DelayedConjTask::DelayedConjTask( |
| 25 | const SUCOMPLEX *data, |
| 26 | SUCOMPLEX *destination, |
| 27 | size_t length, |
| 28 | SUSCOUNT delay, |
| 29 | QObject *parent) : |
| 30 | Suscan::CancellableTask(parent) |
| 31 | { |
| 32 | this->origin = data; |
| 33 | this->destination = destination; |
| 34 | this->length = length; |
| 35 | this->delay = delay; |
| 36 | |
| 37 | if (delay == 0) |
| 38 | throw Suscan::Exception("Delay is zero samples\n"); |
| 39 | |
| 40 | this->delayLine.resize(delay); |
| 41 | |
| 42 | this->setProgress(0); |
| 43 | this->setStatus("Processing..."); |
| 44 | } |
| 45 | |
| 46 | static inline bool |
| 47 | isinf(SUCOMPLEX val) |
nothing calls this directly
no test coverage detected