mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-18 13:48:37 -04:00
Fix gcc warnings
This commit is contained in:
@@ -290,7 +290,7 @@ int AirspyHFInput::getSampleRate() const
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t AirspyHFInput::getSampleRateFromIndex(int devSampleRateIndex) const
|
||||
uint32_t AirspyHFInput::getSampleRateFromIndex(quint32 devSampleRateIndex) const
|
||||
{
|
||||
if (devSampleRateIndex >= m_sampleRates.size()) {
|
||||
devSampleRateIndex = m_sampleRates.size() - 1;
|
||||
|
||||
@@ -185,7 +185,7 @@ private:
|
||||
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response);
|
||||
void webapiReverseSendSettings(const QList<QString>& deviceSettingsKeys, const AirspyHFSettings& settings, bool force);
|
||||
void webapiReverseSendStartStop(bool start);
|
||||
uint32_t getSampleRateFromIndex(int devSampleRateIndex) const;
|
||||
uint32_t getSampleRateFromIndex(quint32 devSampleRateIndex) const;
|
||||
|
||||
private slots:
|
||||
void networkManagerFinished(QNetworkReply *reply);
|
||||
|
||||
@@ -33,8 +33,8 @@ SDRPlayV3Thread::SDRPlayV3Thread(sdrplay_api_DeviceT* dev, SampleSinkFifo* sampl
|
||||
m_dev(dev),
|
||||
m_convertBuffer(SDRPLAYV3_INIT_NBSAMPLES),
|
||||
m_sampleFifo(sampleFifo),
|
||||
m_samplerate(2000000),
|
||||
m_replayBuffer(replayBuffer),
|
||||
m_samplerate(2000000),
|
||||
m_log2Decim(0),
|
||||
m_fcPos(0),
|
||||
m_iqOrder(true),
|
||||
|
||||
Reference in New Issue
Block a user