mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 10:47:21 -05:00
Start on rtlsdr
This commit is contained in:
@@ -327,6 +327,13 @@ liveScanner (dsd_opts * opts, dsd_state * state)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef USE_RTLSDR
|
||||
if(opts->audio_in_type == 3)
|
||||
{
|
||||
printf("starting rtl stream\n");
|
||||
open_rtlsdr_stream();
|
||||
}
|
||||
#endif
|
||||
while (1)
|
||||
{
|
||||
@@ -411,6 +418,13 @@ cleanupAndExit (dsd_opts * opts, dsd_state * state)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_RTLSDR
|
||||
if(opts->audio_in_type == 3)
|
||||
{
|
||||
// TODO: cleanup demod threads
|
||||
}
|
||||
#endif
|
||||
|
||||
printf("\n");
|
||||
printf("Total audio errors: %i\n", state->debug_audio_errors);
|
||||
printf("Total header errors: %i\n", state->debug_header_errors);
|
||||
|
||||
Reference in New Issue
Block a user