1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 00:18:37 -05: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

View File

@ -400,8 +400,8 @@ void RTLSDRGui::on_checkBox_stateChanged(int state)
sendSettings(); sendSettings();
} }
unsigned int RTLSDRSampleRates::m_rates[] = {250, 256, 1000, 1152, 1200, 1536, 1600, 2000, 2304, 2400}; unsigned int RTLSDRSampleRates::m_rates[] = {250, 256, 1000, 1024, 1152, 1200, 1536, 1600, 2000, 2048, 2304, 2400};
unsigned int RTLSDRSampleRates::m_nb_rates = 10; unsigned int RTLSDRSampleRates::m_nb_rates = 12;
unsigned int RTLSDRSampleRates::getRate(unsigned int rate_index) unsigned int RTLSDRSampleRates::getRate(unsigned int rate_index)
{ {

View File

@ -89,7 +89,7 @@ public:
static unsigned int getRateIndex(unsigned int rate); static unsigned int getRateIndex(unsigned int rate);
static unsigned int getNbRates(); static unsigned int getNbRates();
private: private:
static unsigned int m_rates[10]; static unsigned int m_rates[12];
static unsigned int m_nb_rates; static unsigned int m_nb_rates;
}; };