Start on rtlsdr

This commit is contained in:
Jared Szechy
2021-01-16 18:29:20 -05:00
parent 290a2204ba
commit 502607a608
8 changed files with 1075 additions and 13 deletions

View File

@@ -500,6 +500,13 @@ openAudioInDevice (dsd_opts * opts)
exit(1);
#endif
}
else if(strncmp(opts->audio_in_dev, "rtl:", 3) == 0)
{
printf("USING RTL SDR\n");
opts->audio_in_type = 3;
// Starting the stream will open the device.
}
else
{
struct stat stat_buf;