1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -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; 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();

View File

@ -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;

View File

@ -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))

View File

@ -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>