MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / DelayedConjTask

Method DelayedConjTask

Tasks/DelayedConjTask.cpp:24–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define SIGDIGGER_DELAYEDCONJ_BLOCK_LENGTH 4096
23
24DelayedConjTask::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
46static inline bool
47isinf(SUCOMPLEX val)

Callers

nothing calls this directly

Calls 3

ExceptionClass · 0.85
setStatusMethod · 0.80
setProgressMethod · 0.45

Tested by

no test coverage detected