forked from gqrx-sdr/gqrx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possible final fix for gqrx-sdr#1004
Partially reverting 8b4c2ef and fixing DSP restart failure in MainWindow::on_actionIoConfig_triggered allows to select different device/change sample rate/bandwidth/or other device options without DSP freeze and device open failure. Work around GNU Radio bug #3184 Resetting shared_ptr is not enough to close the device. We have to switch to some other dummy osmosdr source, start the top_block, then stop it and disconnect dummy source to really close the device. This may fix some hackrf glitches (at least switching bias tee on the fly) too. Fix white waterfall and no sound after playing back bad IQ file. Workaround gnuradio blocks state corruption after device change by recreating dc_corr (fixes white waterfall and no sound) and resetting the demod (fixes corrupted sound). It looks like sometimes demodulators are not happy with bad samles too. We should recreate the graph, temporarily switching out current demodulator to prevent bad behavior.
- Loading branch information
1 parent
c0f9b18
commit 1a9c247
Showing
2 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters