1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

RTL-SDR input: fixed sample rate slider range and add one more sample rate

This commit is contained in:
f4exb 2015-12-27 04:04:24 +01:00
parent 8f0af54fa0
commit 144462d57b
3 changed files with 4 additions and 4 deletions

View File

@ -273,8 +273,8 @@ void RTLSDRGui::on_checkBox_stateChanged(int state)
sendSettings();
}
unsigned int RTLSDRSampleRates::m_rates[] = {250, 1000, 1152, 1536, 2304, 2400};
unsigned int RTLSDRSampleRates::m_nb_rates = 6;
unsigned int RTLSDRSampleRates::m_rates[] = {250, 1000, 1152, 1200, 1536, 2304, 2400};
unsigned int RTLSDRSampleRates::m_nb_rates = 7;
unsigned int RTLSDRSampleRates::getRate(unsigned int rate_index)
{

View File

@ -61,7 +61,7 @@ public:
static unsigned int getRate(unsigned int rate_index);
static unsigned int getRateIndex(unsigned int rate);
private:
static unsigned int m_rates[6];
static unsigned int m_rates[7];
static unsigned int m_nb_rates;
};

View File

@ -204,7 +204,7 @@
<string>Device Samplerate</string>
</property>
<property name="maximum">
<number>4</number>
<number>6</number>
</property>
<property name="pageStep">
<number>1</number>