mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
File Sink: added more sample rates
This commit is contained in:
parent
a6d485b557
commit
870f44a51b
@ -339,8 +339,9 @@ void FileSinkGui::tick()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int FileSinkSampleRates::m_rates[] = {32, 48, 64, 72, 128, 192, 256, 288, 300, 384, 512, 1000};
|
const unsigned int FileSinkSampleRates::m_nb_rates = 17;
|
||||||
unsigned int FileSinkSampleRates::m_nb_rates = 12;
|
const unsigned int FileSinkSampleRates::m_rates[FileSinkSampleRates::m_nb_rates] = {
|
||||||
|
32, 48, 64, 72, 128, 192, 256, 288, 300, 384, 512, 1000, 2000, 3000, 4000, 5000, 6000};
|
||||||
|
|
||||||
unsigned int FileSinkSampleRates::getRate(unsigned int rate_index)
|
unsigned int FileSinkSampleRates::getRate(unsigned int rate_index)
|
||||||
{
|
{
|
||||||
|
@ -92,9 +92,8 @@ public:
|
|||||||
static unsigned int getRate(unsigned int rate_index);
|
static unsigned int getRate(unsigned int rate_index);
|
||||||
static unsigned int getRateIndex(unsigned int rate);
|
static unsigned int getRateIndex(unsigned int rate);
|
||||||
static unsigned int getNbRates();
|
static unsigned int getNbRates();
|
||||||
private:
|
static const unsigned int m_nb_rates;
|
||||||
static unsigned int m_rates[12];
|
static const unsigned int m_rates[];
|
||||||
static unsigned int m_nb_rates;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INCLUDE_FILESINKGUI_H
|
#endif // INCLUDE_FILESINKGUI_H
|
||||||
|
Loading…
Reference in New Issue
Block a user