| 11 | #define HEARTBEAT_CHECK_PERIOD_MICROS (50 * 1000) |
| 12 | |
| 13 | SDRPostThread::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 | |
| 33 | SDRPostThread::~SDRPostThread() { |
nothing calls this directly
no outgoing calls
no test coverage detected