kopia lustrzana https://github.com/f4exb/sdrangel
Typos.
rodzic
34b5a5992b
commit
1e8b20412c
|
@ -116,7 +116,7 @@ bool TCPSrc::handleMessage(Message* cmd)
|
||||||
m_sampleDistanceRemain = m_inputSampleRate / m_outputSampleRate;
|
m_sampleDistanceRemain = m_inputSampleRate / m_outputSampleRate;
|
||||||
cmd->completed();
|
cmd->completed();
|
||||||
return true;
|
return true;
|
||||||
} else if(DSPSignalNotification::match(cmd)) {
|
} else if(MsgTCPSrcConfigure::match(cmd)) {
|
||||||
MsgTCPSrcConfigure* cfg = (MsgTCPSrcConfigure*)cmd;
|
MsgTCPSrcConfigure* cfg = (MsgTCPSrcConfigure*)cmd;
|
||||||
m_sampleFormat = cfg->getSampleFormat();
|
m_sampleFormat = cfg->getSampleFormat();
|
||||||
m_outputSampleRate = cfg->getOutputSampleRate();
|
m_outputSampleRate = cfg->getOutputSampleRate();
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "dsp/interpolator.h"
|
#include "dsp/interpolator.h"
|
||||||
#include "util/message.h"
|
#include "util/message.h"
|
||||||
|
|
||||||
#define ssbFftLen 1024
|
#define ssbFftLen 2048
|
||||||
|
|
||||||
class QTcpServer;
|
class QTcpServer;
|
||||||
class QTcpSocket;
|
class QTcpSocket;
|
||||||
|
|
|
@ -167,7 +167,7 @@ void TCPSrcGUI::applySettings()
|
||||||
bool ok;
|
bool ok;
|
||||||
|
|
||||||
Real outputSampleRate = ui->sampleRate->text().toDouble(&ok);
|
Real outputSampleRate = ui->sampleRate->text().toDouble(&ok);
|
||||||
if((!ok) || (outputSampleRate < 100))
|
if((!ok) || (outputSampleRate < 1000))
|
||||||
outputSampleRate = 48000;
|
outputSampleRate = 48000;
|
||||||
Real rfBandwidth = ui->rfBandwidth->text().toDouble(&ok);
|
Real rfBandwidth = ui->rfBandwidth->text().toDouble(&ok);
|
||||||
if((!ok) || (rfBandwidth > outputSampleRate))
|
if((!ok) || (rfBandwidth > outputSampleRate))
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
<widget class="QTreeWidget" name="connections">
|
<widget class="QTreeWidget" name="connections">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>400</width>
|
||||||
<height>100</height>
|
<height>100</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
|
Ładowanie…
Reference in New Issue