From d93651dedb5d4a34310b6c90816fcbaf85093154 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 13 Jul 2020 00:06:48 +0200 Subject: [PATCH] RemoteInput; do not stop UDP handler when stopping else it blocks the restart. Fixes issue #563 --- plugins/samplesource/remoteinput/remoteinput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/samplesource/remoteinput/remoteinput.cpp b/plugins/samplesource/remoteinput/remoteinput.cpp index 8615fd029..517702a7a 100644 --- a/plugins/samplesource/remoteinput/remoteinput.cpp +++ b/plugins/samplesource/remoteinput/remoteinput.cpp @@ -49,9 +49,10 @@ MESSAGE_CLASS_DEFINITION(RemoteInput::MsgStartStop, Message) RemoteInput::RemoteInput(DeviceAPI *deviceAPI) : m_deviceAPI(deviceAPI), m_sampleRate(48000), + m_mutex(QMutex::Recursive), m_fileSink(nullptr), m_settings(), - m_remoteInputUDPHandler(0), + m_remoteInputUDPHandler(nullptr), m_deviceDescription(), m_startingTimeStamp(0) { @@ -97,7 +98,6 @@ bool RemoteInput::start() void RemoteInput::stop() { qDebug() << "RemoteInput::stop"; - m_remoteInputUDPHandler->stop(); } QByteArray RemoteInput::serialize() const