i could be wrong but..
i tested this more times, and it doesn't work as it should..
I set direct sampling, but all i get is static noise with a peak in the middle from 100khz till cca 25MHz.
It may be that driver is using I, instead of Q sampling mode.
Maybe this is the issue at librtlsdr.c:
/ only enable In-phase ADC input /
r |= rtlsdr_demod_write_reg(dev, 0, 0x08, 0x4d, 1);
/ swap I and Q ADC, this allows to select between two inputs /
r |= rtlsdr_demod_write_reg(dev, 0, 0x06, (on > 1) ? 0x90 : 0x80, 1);
i could be wrong but.. i tested this more times, and it doesn't work as it should.. I set direct sampling, but all i get is static noise with a peak in the middle from 100khz till cca 25MHz. It may be that driver is using I, instead of Q sampling mode.
Maybe this is the issue at librtlsdr.c: / only enable In-phase ADC input / r |= rtlsdr_demod_write_reg(dev, 0, 0x08, 0x4d, 1);
/ swap I and Q ADC, this allows to select between two inputs / r |= rtlsdr_demod_write_reg(dev, 0, 0x06, (on > 1) ? 0x90 : 0x80, 1);