mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
LimeSDR input: debug (1)
This commit is contained in:
parent
7d61557204
commit
54599c1231
@ -28,6 +28,7 @@
|
||||
#include "limesdr/devicelimesdrparam.h"
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgConfigureLimeSDR, Message)
|
||||
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgSetReferenceConfig, Message)
|
||||
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgReportLimeSDRToGUI, Message)
|
||||
|
||||
|
||||
@ -208,6 +209,22 @@ void LimeSDRInput::stop()
|
||||
m_running = false;
|
||||
}
|
||||
|
||||
const QString& LimeSDRInput::getDeviceDescription() const
|
||||
{
|
||||
return m_deviceDescription;
|
||||
}
|
||||
|
||||
int LimeSDRInput::getSampleRate() const
|
||||
{
|
||||
int rate = m_settings.m_devSampleRate;
|
||||
return (rate / (1<<(m_settings.m_log2HardDecim + m_settings.m_log2SoftDecim)));
|
||||
}
|
||||
|
||||
quint64 LimeSDRInput::getCenterFrequency() const
|
||||
{
|
||||
return m_settings.m_centerFrequency;
|
||||
}
|
||||
|
||||
std::size_t LimeSDRInput::getChannelIndex()
|
||||
{
|
||||
return m_deviceShared.m_channel;
|
||||
|
Loading…
Reference in New Issue
Block a user