1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-28 07:46:37 -04:00

DATV demod: fixed initialization sequence in constructor

This commit is contained in:
f4exb 2018-03-17 01:00:46 +01:00
parent f4918ee201
commit d042507c8f

View File

@ -59,9 +59,9 @@ DATVDemod::DATVDemod(DeviceSourceAPI *deviceAPI) :
m_objRFFilter = new fftfilt(-256000.0 / 1024000.0, 256000.0 / 1024000.0, rfFilterFftLength);
//To setup correct Sample Rate
m_channelizer = new DownChannelizer(this);
channelSampleRateChanged();
m_channelizer = new DownChannelizer(this);
m_threadedChannelizer = new ThreadedBasebandSampleSink(m_channelizer, this);
m_deviceAPI->addThreadedSink(m_threadedChannelizer);
m_deviceAPI->addChannelAPI(this);