1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

RTLSDR input: more sample rates (1024 and 2048)

This commit is contained in:
f4exb
2016-08-12 08:30:43 +02:00
parent 3f7667dffa
commit 1eb3db0291
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -400,8 +400,8 @@ void RTLSDRGui::on_checkBox_stateChanged(int state)
sendSettings();
}
unsigned int RTLSDRSampleRates::m_rates[] = {250, 256, 1000, 1152, 1200, 1536, 1600, 2000, 2304, 2400};
unsigned int RTLSDRSampleRates::m_nb_rates = 10;
unsigned int RTLSDRSampleRates::m_rates[] = {250, 256, 1000, 1024, 1152, 1200, 1536, 1600, 2000, 2048, 2304, 2400};
unsigned int RTLSDRSampleRates::m_nb_rates = 12;
unsigned int RTLSDRSampleRates::getRate(unsigned int rate_index)
{
+1 -1
View File
@@ -89,7 +89,7 @@ public:
static unsigned int getRateIndex(unsigned int rate);
static unsigned int getNbRates();
private:
static unsigned int m_rates[10];
static unsigned int m_rates[12];
static unsigned int m_nb_rates;
};