MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / SDRPostThread

Method SDRPostThread

src/sdr/SDRPostThread.cpp:13–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#define HEARTBEAT_CHECK_PERIOD_MICROS (50 * 1000)
12
13SDRPostThread::SDRPostThread() : IOThread(), buffers("SDRPostThreadBuffers"), visualDataBuffers("SDRPostThreadVisualDataBuffers"), frequency(0) {
14 iqDataInQueue = nullptr;
15 iqDataOutQueue = nullptr;
16 iqVisualQueue = nullptr;
17
18 numChannels = 0;
19 channelizer = nullptr;
20 channelizer2 = nullptr;
21
22 // Channel mode default is PFBCH
23 chanMode = (int)SDRPostPFBCH;
24 lastChanMode = 0;
25
26 sampleRate = 0;
27
28 doRefresh.store(false);
29 dcFilter = iirfilt_crcf_create_dc_blocker(0.0005f);
30}
31
32
33SDRPostThread::~SDRPostThread() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected