mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -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};
|
||||
unsigned int FileSinkSampleRates::m_nb_rates = 12;
|
||||
const unsigned int FileSinkSampleRates::m_nb_rates = 17;
|
||||
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)
|
||||
{
|
||||
|
@ -92,9 +92,8 @@ public:
|
||||
static unsigned int getRate(unsigned int rate_index);
|
||||
static unsigned int getRateIndex(unsigned int rate);
|
||||
static unsigned int getNbRates();
|
||||
private:
|
||||
static unsigned int m_rates[12];
|
||||
static unsigned int m_nb_rates;
|
||||
static const unsigned int m_nb_rates;
|
||||
static const unsigned int m_rates[];
|
||||
};
|
||||
|
||||
#endif // INCLUDE_FILESINKGUI_H
|
||||
|
Loading…
Reference in New Issue
Block a user