mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
LimeSDR: reduced LimeSDR stream FIFO size to 256k to improve latency
This commit is contained in:
parent
52e20382c0
commit
044af0d06d
@ -181,7 +181,7 @@ bool LimeSDRMIMO::setupRxStream(unsigned int channel)
|
|||||||
|
|
||||||
// set up the stream
|
// set up the stream
|
||||||
m_rxStreams[channel].channel = channel | LMS_ALIGN_CH_PHASE; // channel number
|
m_rxStreams[channel].channel = channel | LMS_ALIGN_CH_PHASE; // channel number
|
||||||
m_rxStreams[channel].fifoSize = 10 * 1024 * 1024; // fifo size in samples (SR / 10 take ~5MS/s)
|
m_rxStreams[channel].fifoSize = 1024 * 256; // fifo size in samples
|
||||||
m_rxStreams[channel].throughputVsLatency = 0.5; // optimize for min latency
|
m_rxStreams[channel].throughputVsLatency = 0.5; // optimize for min latency
|
||||||
m_rxStreams[channel].isTx = false; // RX channel
|
m_rxStreams[channel].isTx = false; // RX channel
|
||||||
m_rxStreams[channel].dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
m_rxStreams[channel].dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
||||||
@ -220,7 +220,7 @@ bool LimeSDRMIMO::setupTxStream(unsigned int channel)
|
|||||||
|
|
||||||
// set up the stream
|
// set up the stream
|
||||||
m_txStreams[channel].channel = channel | LMS_ALIGN_CH_PHASE; // channel number
|
m_txStreams[channel].channel = channel | LMS_ALIGN_CH_PHASE; // channel number
|
||||||
m_txStreams[channel].fifoSize = 1024 * 1024; // fifo size in samples (SR / 10 take ~5MS/s)
|
m_txStreams[channel].fifoSize = 1024 * 256; // fifo size in samples
|
||||||
m_txStreams[channel].throughputVsLatency = 0.5; // optimize for min latency
|
m_txStreams[channel].throughputVsLatency = 0.5; // optimize for min latency
|
||||||
m_txStreams[channel].isTx = true; // TX channel
|
m_txStreams[channel].isTx = true; // TX channel
|
||||||
m_txStreams[channel].dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
m_txStreams[channel].dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
||||||
|
@ -312,7 +312,7 @@ bool LimeSDROutput::acquireChannel()
|
|||||||
// set up the stream
|
// set up the stream
|
||||||
|
|
||||||
m_streamId.channel = m_deviceShared.m_channel; // channel number
|
m_streamId.channel = m_deviceShared.m_channel; // channel number
|
||||||
m_streamId.fifoSize = 1024 * 1024; // fifo size in samples (SR / 10 take ~5MS/s)
|
m_streamId.fifoSize = 1024 * 256; // fifo size in samples
|
||||||
m_streamId.throughputVsLatency = 0.5; // optimize for min latency
|
m_streamId.throughputVsLatency = 0.5; // optimize for min latency
|
||||||
m_streamId.isTx = true; // TX channel
|
m_streamId.isTx = true; // TX channel
|
||||||
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
||||||
|
@ -338,7 +338,7 @@ bool LimeSDRInput::acquireChannel()
|
|||||||
// set up the stream
|
// set up the stream
|
||||||
|
|
||||||
m_streamId.channel = m_deviceShared.m_channel; // channel number
|
m_streamId.channel = m_deviceShared.m_channel; // channel number
|
||||||
m_streamId.fifoSize = 1024 * 1024; // fifo size in samples (SR / 10 take ~5MS/s)
|
m_streamId.fifoSize = 1024 * 256; // fifo size in samples
|
||||||
m_streamId.throughputVsLatency = 0.5; // optimize for min latency
|
m_streamId.throughputVsLatency = 0.5; // optimize for min latency
|
||||||
m_streamId.isTx = false; // RX channel
|
m_streamId.isTx = false; // RX channel
|
||||||
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
m_streamId.dataFmt = lms_stream_t::LMS_FMT_I12; // 12-bit integers
|
||||||
|
Loading…
Reference in New Issue
Block a user