Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodetection of minimum and maximum sample rates #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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