1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

Merge pull request #1075 from srcejon/fix_1069_fifo_size

Increase FIFO size in Remote Sink according to baseband sample rate
This commit is contained in:
Edouard Griffiths 2021-12-09 15:28:46 +01:00 committed by GitHub
commit 4269aa4377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,7 @@ bool RemoteSinkBaseband::handleMessage(const Message& cmd)
m_channelizer->setBasebandSampleRate(m_basebandSampleRate); m_channelizer->setBasebandSampleRate(m_basebandSampleRate);
m_sink.applyBasebandSampleRate(m_basebandSampleRate); m_sink.applyBasebandSampleRate(m_basebandSampleRate);
m_sink.setDeviceCenterFrequency(notif.getCenterFrequency()); m_sink.setDeviceCenterFrequency(notif.getCenterFrequency());
m_sampleFifo.setSize(SampleSinkFifo::getSizePolicy(m_basebandSampleRate));
return true; return true;
} }