szechyjs / dsd

Digital Speech Decoder
Other
699 stars 270 forks source link

Add more command line options for RTL and shutdown improvement. #109

Open thewraith2008 opened 3 years ago

thewraith2008 commented 3 years ago

Hello, Just some changes/addition to command line options:

thewraith2008 commented 3 years ago

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(). It makes it progress a little further with the shutdown but ends up hanging in the 'output_cleanup' function on 'pthread_cond_destroy'.(if commented out, it will finish with no problem)