1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 17:28:50 -05:00

Fixed missing initializations of QNetworkManager. Fixes #1689

This commit is contained in:
f4exb 2023-05-18 10:20:27 +02:00
parent 9631206fa9
commit 1247e7e65c
3 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,7 @@ ChirpChatDemod::ChirpChatDemod(DeviceAPI* deviceAPI) :
m_deviceAPI->addChannelSink(this); m_deviceAPI->addChannelSink(this);
m_deviceAPI->addChannelSinkAPI(this); m_deviceAPI->addChannelSinkAPI(this);
m_networkManager = new QNetworkAccessManager();
QObject::connect( QObject::connect(
this, this,

View File

@ -50,6 +50,7 @@ AudioOutput::AudioOutput(DeviceAPI *deviceAPI) :
m_sampleRate = audioDeviceManager->getOutputSampleRate(m_audioDeviceIndex); m_sampleRate = audioDeviceManager->getOutputSampleRate(m_audioDeviceIndex);
m_settings.m_deviceName = AudioDeviceManager::m_defaultDeviceName; m_settings.m_deviceName = AudioDeviceManager::m_defaultDeviceName;
m_sampleSourceFifo.resize(SampleSourceFifo::getSizePolicy(48000)); m_sampleSourceFifo.resize(SampleSourceFifo::getSizePolicy(48000));
m_networkManager = new QNetworkAccessManager();
} }
AudioOutput::~AudioOutput() AudioOutput::~AudioOutput()

View File

@ -51,6 +51,7 @@ FileOutput::FileOutput(DeviceAPI *deviceAPI) :
m_masterTimer(deviceAPI->getMasterTimer()) m_masterTimer(deviceAPI->getMasterTimer())
{ {
m_deviceAPI->setNbSinkStreams(1); m_deviceAPI->setNbSinkStreams(1);
m_networkManager = new QNetworkAccessManager();
} }
FileOutput::~FileOutput() FileOutput::~FileOutput()