mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-29 11:18:56 -05:00
Fixed missing initializations of QNetworkManager. Fixes #1689
This commit is contained in:
parent
9631206fa9
commit
1247e7e65c
@ -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,
|
||||||
|
@ -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()
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user