| 99 | |
| 100 | |
| 101 | void SDRPostThread::resetAllDemodulators() { |
| 102 | //retrieve the current list of demodulators: |
| 103 | auto demodulators = wxGetApp().getDemodMgr().getDemodulators(); |
| 104 | |
| 105 | for (const auto& demod : demodulators) { |
| 106 | |
| 107 | demod->setActive(false); |
| 108 | demod->getIQInputDataPipe()->flush(); |
| 109 | } |
| 110 | |
| 111 | doRefresh.store(true); |
| 112 | } |
| 113 | |
| 114 | |
| 115 | // Update the channel positions and frequencies |
nothing calls this directly
no test coverage detected