1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 01:20:56 -05:00
This commit is contained in:
John Greb 2014-12-19 19:17:46 +00:00
parent 34b5a5992b
commit 1e8b20412c
4 changed files with 4 additions and 4 deletions

View File

@ -116,7 +116,7 @@ bool TCPSrc::handleMessage(Message* cmd)
m_sampleDistanceRemain = m_inputSampleRate / m_outputSampleRate;
cmd->completed();
return true;
} else if(DSPSignalNotification::match(cmd)) {
} else if(MsgTCPSrcConfigure::match(cmd)) {
MsgTCPSrcConfigure* cfg = (MsgTCPSrcConfigure*)cmd;
m_sampleFormat = cfg->getSampleFormat();
m_outputSampleRate = cfg->getOutputSampleRate();

View File

@ -8,7 +8,7 @@
#include "dsp/interpolator.h"
#include "util/message.h"
#define ssbFftLen 1024
#define ssbFftLen 2048
class QTcpServer;
class QTcpSocket;

View File

@ -167,7 +167,7 @@ void TCPSrcGUI::applySettings()
bool ok;
Real outputSampleRate = ui->sampleRate->text().toDouble(&ok);
if((!ok) || (outputSampleRate < 100))
if((!ok) || (outputSampleRate < 1000))
outputSampleRate = 48000;
Real rfBandwidth = ui->rfBandwidth->text().toDouble(&ok);
if((!ok) || (rfBandwidth > outputSampleRate))

View File

@ -157,7 +157,7 @@
<widget class="QTreeWidget" name="connections">
<property name="maximumSize">
<size>
<width>16777215</width>
<width>400</width>
<height>100</height>
</size>
</property>