Thanks for the handy program, I made some small improvements. First, my notebook has 3 additional ALSA sound cards for the HDMI ports, so the strategy of opening the lasd card (cardnum - 1) failed on my notebook. I modified it so that if the last card fails to open, it tries all the others in reverse order.
After fixing this, the application exited right after receiving the first image, since it didn't check whether the rx and rx-lum directories exist. I added a check and an mkdir call, so it works regardless whether these directories exist or not.
Last, I modified the Makefile so that the clean command really cleans up, and created a .gitignore so the output of the Git commands are nice and clean, ignoring compiled binaries and received images.
Thanks for the handy program, I made some small improvements. First, my notebook has 3 additional ALSA sound cards for the HDMI ports, so the strategy of opening the lasd card (
cardnum - 1
) failed on my notebook. I modified it so that if the last card fails to open, it tries all the others in reverse order.After fixing this, the application exited right after receiving the first image, since it didn't check whether the
rx
andrx-lum
directories exist. I added a check and anmkdir
call, so it works regardless whether these directories exist or not.Last, I modified the
Makefile
so that theclean
command really cleans up, and created a.gitignore
so the output of the Git commands are nice and clean, ignoring compiled binaries and received images.