mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
SDRdaemonFEC support: debug (3). Fixed frames buffer length calculation and use more slots
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
|
||||
const int SDRdaemonFECBuffer::m_sampleSize = 2;
|
||||
const int SDRdaemonFECBuffer::m_iqSampleSize = 2 * m_sampleSize;
|
||||
const int SDRdaemonFECBuffer::m_rawBufferLengthSeconds = 8; // should be even
|
||||
const int SDRdaemonFECBuffer::m_rawBufferMinNbFrames = 50;
|
||||
|
||||
SDRdaemonFECBuffer::SDRdaemonFECBuffer(uint32_t throttlems) :
|
||||
m_frameHead(0),
|
||||
@@ -40,7 +38,7 @@ SDRdaemonFECBuffer::SDRdaemonFECBuffer(uint32_t throttlems) :
|
||||
{
|
||||
m_currentMeta.init();
|
||||
m_outputMeta.init();
|
||||
m_framesNbBytes = nbDecoderSlots * sizeof(BufferFrame) * m_iqSampleSize;
|
||||
m_framesNbBytes = nbDecoderSlots * sizeof(BufferFrame);
|
||||
m_wrDeltaEstimate = m_framesNbBytes / 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user