mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
SDRPlay plugin: new sample rates to better support non zero IF modes
This commit is contained in:
parent
85807ffadb
commit
3da9c5b7cf
@ -417,21 +417,23 @@ void SDRPlayGui::on_record_toggled(bool checked)
|
||||
|
||||
unsigned int SDRPlaySampleRates::m_rates[m_nb_rates] = {
|
||||
1536000, // 0
|
||||
2000000, // 1
|
||||
2048000, // 2
|
||||
2304000, // 3
|
||||
2400000, // 4
|
||||
3072000, // 5
|
||||
3200000, // 6
|
||||
4000000, // 7
|
||||
4096000, // 8
|
||||
4608000, // 9
|
||||
4800000, // 10
|
||||
5000000, // 11
|
||||
6000000, // 12
|
||||
6144000, // 13
|
||||
8000000, // 14
|
||||
8192000, // 15
|
||||
1800000, // 1
|
||||
2000000, // 2
|
||||
2048000, // 3
|
||||
2304000, // 4
|
||||
2400000, // 5
|
||||
3072000, // 6
|
||||
3200000, // 7
|
||||
4000000, // 8
|
||||
4096000, // 9
|
||||
4608000, // 10
|
||||
4800000, // 11
|
||||
5000000, // 12
|
||||
6000000, // 13
|
||||
6144000, // 14
|
||||
6480000, // 15
|
||||
8000000, // 16
|
||||
8192000, // 17
|
||||
};
|
||||
|
||||
unsigned int SDRPlaySampleRates::getRate(unsigned int rate_index)
|
||||
|
@ -98,7 +98,7 @@ public:
|
||||
static unsigned int getRateIndex(unsigned int rate);
|
||||
static unsigned int getNbRates();
|
||||
private:
|
||||
static const unsigned int m_nb_rates = 16;
|
||||
static const unsigned int m_nb_rates = 18;
|
||||
static unsigned int m_rates[m_nb_rates];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user