From 9afab2af89a6d9006a99a233209e43af6c7f08e4 Mon Sep 17 00:00:00 2001 From: srcejon Date: Fri, 1 Nov 2024 16:32:39 +0000 Subject: [PATCH] Server: Use Sink/MIMO signals rather than Source. --- sdrsrv/mainserver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdrsrv/mainserver.cpp b/sdrsrv/mainserver.cpp index 4e517ecac..da7723ce4 100644 --- a/sdrsrv/mainserver.cpp +++ b/sdrsrv/mainserver.cpp @@ -578,8 +578,8 @@ void MainServer::changeSampleSink(int deviceSetIndex, int selectedDeviceIndex) // wait for sample source to be set, before loading settings auto connection = new QMetaObject::Connection(); *connection = connect( - deviceSet->m_deviceSourceEngine, - &DSPDeviceSourceEngine::sampleSet, + deviceSet->m_deviceSinkEngine, + &DSPDeviceSinkEngine::sampleSet, this, [=]() { deviceSet->m_deviceAPI->loadSamplingDeviceSettings(m_mainCore->m_settings.getWorkingPreset()); // load new API settings @@ -644,8 +644,8 @@ void MainServer::changeSampleMIMO(int deviceSetIndex, int selectedDeviceIndex) // wait for sample source to be set, before loading settings auto connection = new QMetaObject::Connection(); *connection = connect( - deviceSet->m_deviceSourceEngine, - &DSPDeviceSourceEngine::sampleSet, + deviceSet->m_deviceMIMOEngine, + &DSPDeviceMIMOEngine::sampleSet, this, [=]() { deviceSet->m_deviceAPI->loadSamplingDeviceSettings(m_mainCore->m_settings.getWorkingPreset()); // load new API settings