Skip to content

Conversation

uski
Copy link

@uski uski commented Dec 7, 2018

Hello,

In rtl_power.c, there are two #defines : MAXIMUM_RATE and MINIMUM_RATE
These values are hardcoded and good for various rtl-sdr dongles.

However, they may be inappropriate for other hardware which kind of defeats the purpose of using SoapySDR.

This simple pull-request/patch is about adding auto-detection of the minimum and maximum sample rates for the selected hardware, allowing the logic of the original rtl_power to select the proper tuning range using the right sampling rates for the hardware.

@guruofquality
Copy link
Collaborator

Please rebase I will merge this. Not having hardcoded rates is preferred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants