mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-24 21:15:24 -04:00
LimeSDR input: debug (1)
This commit is contained in:
parent
7d61557204
commit
54599c1231
@ -28,6 +28,7 @@
|
|||||||
#include "limesdr/devicelimesdrparam.h"
|
#include "limesdr/devicelimesdrparam.h"
|
||||||
|
|
||||||
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgConfigureLimeSDR, Message)
|
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgConfigureLimeSDR, Message)
|
||||||
|
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgSetReferenceConfig, Message)
|
||||||
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgReportLimeSDRToGUI, Message)
|
MESSAGE_CLASS_DEFINITION(LimeSDRInput::MsgReportLimeSDRToGUI, Message)
|
||||||
|
|
||||||
|
|
||||||
@ -208,6 +209,22 @@ void LimeSDRInput::stop()
|
|||||||
m_running = false;
|
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()
|
std::size_t LimeSDRInput::getChannelIndex()
|
||||||
{
|
{
|
||||||
return m_deviceShared.m_channel;
|
return m_deviceShared.m_channel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user