1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 07:51:14 -05:00

Metis: set output FIFO size to size policy. Fixes #1100

This commit is contained in:
f4exb 2022-01-13 02:44:58 +01:00
parent 46b11086b7
commit 61226c06bd

View File

@ -32,6 +32,7 @@
#include "dsp/dspengine.h"
#include "dsp/dspdevicemimoengine.h"
#include "dsp/devicesamplesource.h"
#include "dsp/samplesourcefifo.h"
#include "metis/devicemetis.h"
#include "metismisoudphandler.h"
@ -51,7 +52,7 @@ MetisMISO::MetisMISO(DeviceAPI *deviceAPI) :
{
m_mimoType = MIMOHalfSynchronous;
m_sampleMIFifo.init(MetisMISOSettings::m_maxReceivers, 96000 * 4);
m_sampleMOFifo.init(1, 96000 * 4);
m_sampleMOFifo.init(1, SampleSourceFifo::getSizePolicy(48000));
m_deviceAPI->setNbSourceStreams(MetisMISOSettings::m_maxReceivers);
m_deviceAPI->setNbSinkStreams(1);
int deviceSequence = m_deviceAPI->getSamplingDeviceSequence();