Push visual data; i.e. Main Waterfall (all frames) and Spectrum (active frame)
| 231 | |
| 232 | // Push visual data; i.e. Main Waterfall (all frames) and Spectrum (active frame) |
| 233 | void SDRPostThread::pushVisualData(const DemodulatorThreadIQDataPtr& iqDataOut) { |
| 234 | |
| 235 | if (iqDataOutQueue != nullptr) { |
| 236 | |
| 237 | //non-blocking push here, we can afford to loose some samples for a ever-changing visual display. |
| 238 | iqDataOutQueue->try_push(iqDataOut); |
| 239 | |
| 240 | if (iqVisualQueue != nullptr) { |
| 241 | //non-blocking push here, we can afford to loose some samples for a ever-changing visual display. |
| 242 | iqVisualQueue->try_push(iqDataOut); |
| 243 | } |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | // Run without any processing; each demod gets the full SDR bandwidth to handle on it's own |
| 248 | void SDRPostThread::runSingleCH(SDRThreadIQData *data_in) { |