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:
parent
3f7667dffa
commit
1eb3db0291
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user