From e5509b5fe882368775a20cbafd4e389cf6bcbffa Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 19 Oct 2016 14:28:58 +0200 Subject: [PATCH] Tx ph.1: added device sink reference to the device UI set --- sdrbase/mainwindow.cpp | 2 ++ sdrbase/mainwindow.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sdrbase/mainwindow.cpp b/sdrbase/mainwindow.cpp index c40dab525..1415dd937 100644 --- a/sdrbase/mainwindow.cpp +++ b/sdrbase/mainwindow.cpp @@ -765,6 +765,8 @@ MainWindow::DeviceUISet::DeviceUISet(QTimer& timer) m_samplingDeviceControl = new SamplingDeviceControl; m_deviceSourceEngine = 0; m_deviceSourceAPI = 0; + m_deviceSinkEngine = 0; + m_deviceSinkAPI = 0; // m_spectrum needs to have its font to be set since it cannot be inherited from the main window QFont font; diff --git a/sdrbase/mainwindow.h b/sdrbase/mainwindow.h index ac8a5300a..776520184 100644 --- a/sdrbase/mainwindow.h +++ b/sdrbase/mainwindow.h @@ -34,17 +34,18 @@ class SamplingDeviceControl; class AudioDeviceInfo; class DSPEngine; class DSPDeviceSourceEngine; +class DSPDeviceSinkEngine; class Indicator; class SpectrumVis; class GLSpectrum; class GLSpectrumGUI; class ChannelWindow; -class DeviceSampleSource; class PluginAPI; class PluginGUI; class ChannelMarker; class PluginManager; class DeviceSourceAPI; +class DeviceSinkApi; class PluginInterface; class QWidget; @@ -65,6 +66,8 @@ public: SamplingDeviceControl *m_samplingDeviceControl; DSPDeviceSourceEngine *m_deviceSourceEngine; DeviceSourceAPI *m_deviceSourceAPI; + DSPDeviceSinkEngine *m_deviceSinkEngine; + DeviceSinkApi *m_deviceSinkAPI; QByteArray m_mainWindowState; DeviceUISet(QTimer& timer);