seandepagnier / rtlsdr_pi

rtlsdr plugin for opencpn for AIS vhf and more on tv tuner usb dongle
30 stars 14 forks source link

no sound in raspberry pi 3 #15

Closed pglez82 closed 5 years ago

pglez82 commented 5 years ago

Hi. I was just trying to play FM or VHF using the plugin in a Raspberry Pi 3 (using lastest version of raspbian). When I enable the radio in the plugin the output is:

Executing: rtl_fm -r 48k -s 250k -f 97.0M -l 0
Executed: aplay -r 48 -f S16_le -t raw -c 1

which is ok because if I execute in a terminal:

rtl_fm -r 48k -s 250k -f 97.0M -l 0 | aplay -r 48 -f S16_le -t raw -c 1

I can hear the radio without problems. But when I execute it in the plugin, I can't hear anything. Any ideas?

pglez82 commented 5 years ago

I made a few changes in the code so it works for me now. I am sharing it in case anyone is in the same position. #16