mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
DATV demod: fixed initialization sequence in constructor
This commit is contained in:
parent
f4918ee201
commit
d042507c8f
@ -59,9 +59,9 @@ DATVDemod::DATVDemod(DeviceSourceAPI *deviceAPI) :
|
|||||||
m_objRFFilter = new fftfilt(-256000.0 / 1024000.0, 256000.0 / 1024000.0, rfFilterFftLength);
|
m_objRFFilter = new fftfilt(-256000.0 / 1024000.0, 256000.0 / 1024000.0, rfFilterFftLength);
|
||||||
|
|
||||||
//To setup correct Sample Rate
|
//To setup correct Sample Rate
|
||||||
|
m_channelizer = new DownChannelizer(this);
|
||||||
channelSampleRateChanged();
|
channelSampleRateChanged();
|
||||||
|
|
||||||
m_channelizer = new DownChannelizer(this);
|
|
||||||
m_threadedChannelizer = new ThreadedBasebandSampleSink(m_channelizer, this);
|
m_threadedChannelizer = new ThreadedBasebandSampleSink(m_channelizer, this);
|
||||||
m_deviceAPI->addThreadedSink(m_threadedChannelizer);
|
m_deviceAPI->addThreadedSink(m_threadedChannelizer);
|
||||||
m_deviceAPI->addChannelAPI(this);
|
m_deviceAPI->addChannelAPI(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user