Closed spaivaras closed 8 years ago
ups, didn't wanted to close the issue... think I see what's wrong
It closed automatically, because I referenced it in my PR. In any case after adding the reason for reinit, now it works beautifully for me, sampling rates are set properly. Maybe some error handling could be added. For example if Sampling freq is less than IF bandwidth.
You motivated me to continue with this today! I'll implement an argument to control the LNA and try to tweak the gain limits... guess tonight I'll do some commits.
Nice!! I just glued LNA control via additional gain slider in gqrx for my self, its not the way how it should be implemented, so nothing to share :) Thx for your work. As now i can fully enjoy SDRPlay under linux. If i will see some small fixes I can contribute, I will send some PR's your way. Cheers.
Hi, we talked a bit in youtube. So the problem is: If I set a wide IF bandwidth of > 1.536 MHz, and no matter what sampling rate (for example 7e6 Hz) SDRPlay just stops sending events to
sdrplay_source_c::streamCallback
I did some debugging and one thing stood out for me:
This is initial call, everything seems ok, default values.
Next call is to
set_sample_rate
Even so sample rate is requested 7e6 it seems mir_sdr is still using 2.048Mhz one setToggleStates: initialising Fs=2047999,978, Rf=96800000,000, Gr=50
And the last call for increased IF bandwidth stops everything:
The response is indicating that 2.048Mhz sampling is stuck with mir_sdr mir_sdr_Init: Fs=2048000Hz is too low for Lif=0, Bw=5000000 and DecM=1 - minimum required 5000000
I hope this brings more information to the problem, I will try to fiddle with this. If my knowledge will be enough, I will make a PR here