mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
Remote Input: do not apply remote channel settings before they get updated via stream
This commit is contained in:
parent
ac28cadffa
commit
180d554812
@ -69,7 +69,6 @@ RemoteInput::RemoteInput(DeviceAPI *deviceAPI) :
|
||||
|
||||
RemoteInput::~RemoteInput()
|
||||
{
|
||||
disconnect(m_remoteInputUDPHandler, SIGNAL(metaChanged()), this, SLOT(handleMetaChanged()));
|
||||
disconnect(m_networkManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(networkManagerFinished(QNetworkReply*)));
|
||||
delete m_networkManager;
|
||||
stop();
|
||||
@ -328,6 +327,10 @@ void RemoteInput::applySettings(const RemoteInputSettings& settings, bool force)
|
||||
|
||||
void RemoteInput::applyRemoteChannelSettings(const RemoteChannelSettings& settings)
|
||||
{
|
||||
if (m_remoteChannelSettings.m_deviceSampleRate == 1) { // uninitialized
|
||||
return;
|
||||
}
|
||||
|
||||
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();;
|
||||
swgChannelSettings->setOriginatorChannelIndex(0);
|
||||
swgChannelSettings->setOriginatorDeviceSetIndex(m_deviceAPI->getDeviceSetIndex());
|
||||
|
Loading…
Reference in New Issue
Block a user