Add more command line options for RTL and shutdown improvement.#109
Open
thewraith2008 wants to merge 3 commits intoszechyjs:rtl-sdrfrom
Open
Add more command line options for RTL and shutdown improvement.#109thewraith2008 wants to merge 3 commits intoszechyjs:rtl-sdrfrom
thewraith2008 wants to merge 3 commits intoszechyjs:rtl-sdrfrom
Conversation
added 3 commits
January 22, 2021 22:17
Add RTL device selection using supplied command line option. e.g. -o RTL:0. Will parse command line option '-o RTL:0' when using RTL input device to extract RTL device index.
The use of 'static volatile' keyword for 'exitflag' causes the program to halt on call to: - pthread_join(demod.thread, NULL); (in cleanup_rtlsdr_stream) When 'exitflag' is set in sigfun(), the change is never seen in the demod thread causing it to never to exit. On CTRL-C, do RTL cleanup/shutdown if needed.
Author
|
I have managed to do limited testing on a (Manjaro) Linux compiled DSD and it would appear that the fix for shutting down DSD may not be suitable for Linux. It works fine when compiled with Cygwin and used in Windows. I tried adding 'demod.exit_flag = 1' to the rtlsdr_sighandler(). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
Just some changes/addition to command line options: