RTL Misc; Disable Offset and Double BW; #125
This commit is contained in:
parent
380657679e
commit
bf4a4b574c
|
|
@ -1342,7 +1342,11 @@ main (int argc, char **argv)
|
||||||
fprintf (stderr,"%s\n", FM_banner[i]);
|
fprintf (stderr,"%s\n", FM_banner[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef AERO_BUILD
|
||||||
|
fprintf (stderr, "Build Version: v2.0.1-7 Win32 \n");
|
||||||
|
#else
|
||||||
fprintf (stderr, "Build Version: %s \n", GIT_TAG);
|
fprintf (stderr, "Build Version: %s \n", GIT_TAG);
|
||||||
|
#endif
|
||||||
fprintf (stderr,"MBElib Version: %s\n", versionstr);
|
fprintf (stderr,"MBElib Version: %s\n", versionstr);
|
||||||
|
|
||||||
initOpts (&opts);
|
initOpts (&opts);
|
||||||
|
|
|
||||||
|
|
@ -2059,7 +2059,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
||||||
{
|
{
|
||||||
printw ("------------------------------------------------------------------------------\n");
|
printw ("------------------------------------------------------------------------------\n");
|
||||||
// printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", GIT_TAG);
|
// printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", GIT_TAG);
|
||||||
printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", "v2.0.1-6 Win32");
|
printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", "v2.0.1-7 Win32");
|
||||||
printw ("------------------------------------------------------------------------------\n");
|
printw ("------------------------------------------------------------------------------\n");
|
||||||
}
|
}
|
||||||
#elif LIMAZULUTWEAKS
|
#elif LIMAZULUTWEAKS
|
||||||
|
|
|
||||||
|
|
@ -805,7 +805,7 @@ void dongle_init(struct dongle_state *s)
|
||||||
s->gain = AUTO_GAIN; // tenths of a dB
|
s->gain = AUTO_GAIN; // tenths of a dB
|
||||||
s->mute = 0;
|
s->mute = 0;
|
||||||
s->direct_sampling = 0;
|
s->direct_sampling = 0;
|
||||||
s->offset_tuning = 1; // initial tests show this works better enabled
|
s->offset_tuning = 0; //E4000 tuners only
|
||||||
s->demod_target = &demod;
|
s->demod_target = &demod;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -964,7 +964,7 @@ void open_rtlsdr_stream(dsd_opts *opts)
|
||||||
{
|
{
|
||||||
struct sigaction sigact;
|
struct sigaction sigact;
|
||||||
int r;
|
int r;
|
||||||
rtl_bandwidth = opts->rtl_bandwidth * 1000;
|
rtl_bandwidth = opts->rtl_bandwidth * 1000 * 2; //going to double the value -- may clear up issue with user specified BW not what it seems
|
||||||
bandwidth_multiplier = (bandwidth_divisor / rtl_bandwidth);
|
bandwidth_multiplier = (bandwidth_divisor / rtl_bandwidth);
|
||||||
|
|
||||||
//this needs to be initted first, then we set the parameters
|
//this needs to be initted first, then we set the parameters
|
||||||
|
|
@ -1087,10 +1087,9 @@ void get_rtlsdr_sample(int16_t *sample, dsd_opts * opts, dsd_state * state)
|
||||||
pthread_rwlock_unlock(&output.rw);
|
pthread_rwlock_unlock(&output.rw);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtl_dev_tune(dsd_opts * opts, long int frequency)
|
void rtl_dev_tune(dsd_opts * opts, long int frequency)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
uint32_t freq;
|
|
||||||
dongle.freq = opts->rtlsdr_center_freq = frequency;
|
dongle.freq = opts->rtlsdr_center_freq = frequency;
|
||||||
optimal_settings(dongle.freq, demod.rate_in);
|
optimal_settings(dongle.freq, demod.rate_in);
|
||||||
r = verbose_set_frequency(dongle.dev, dongle.freq);
|
r = verbose_set_frequency(dongle.dev, dongle.freq);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue