From 099583916f992507e9d051b7668659d1a7f97ed1 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 8 Aug 2017 01:19:11 +0200 Subject: [PATCH] LimeSDR output: use a stream FIFO size about 10% for a 5 MS/s rate (512k) --- debian/changelog | 1 - plugins/samplesink/limesdroutput/limesdroutput.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 10933fc0d..87b430006 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,6 @@ sdrangel (3.5.5-1) unstable; urgency=medium * Output plugins: use fixed time length for sample FIFO - * Audio modulators: reduce audio input file buffer to 0.25s -- Edouard Griffiths, F4EXB Sun, 13 Aug 2017 23:14:18 +0200 diff --git a/plugins/samplesink/limesdroutput/limesdroutput.cpp b/plugins/samplesink/limesdroutput/limesdroutput.cpp index b1a4c5dc5..94b3c950c 100644 --- a/plugins/samplesink/limesdroutput/limesdroutput.cpp +++ b/plugins/samplesink/limesdroutput/limesdroutput.cpp @@ -165,7 +165,7 @@ bool LimeSDROutput::openDevice() // set up the stream m_streamId.channel = m_deviceShared.m_channel; // channel number - m_streamId.fifoSize = 5000000; // fifo size in samples + m_streamId.fifoSize = 512 * 1024; // fifo size in samples (SR / 10 take ~5MS/s) m_streamId.throughputVsLatency = 0.0; // optimize for min latency m_streamId.isTx = true; // TX channel m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers