Skip to content

Dynamically set tx_streamer buffer size based on sample rate#74

Merged
zuckschwerdt merged 1 commit into
pothosware:masterfrom
qradiolink:tx_buffer_size
Mar 27, 2026
Merged

Dynamically set tx_streamer buffer size based on sample rate#74
zuckschwerdt merged 1 commit into
pothosware:masterfrom
qradiolink:tx_buffer_size

Conversation

@kantooon

@kantooon kantooon commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

As described in #73 the hardcoded buffer size of 4096 for the tx_streamer seems inadequate for high-rate full-duplex streams. This change uses the same kind of tx_streamer buffer size adjustment code as for the rx_streamer.

The original hardcoded buffer size of 4096 is too small for
a full duplex RX and TX stream at higher sample rates, leading
to dropped samples during transmit. Change tested with a duplex stream
at 2 Msps.
@zuckschwerdt

Copy link
Copy Markdown
Member

Looks ready to merge. Let others get a word in, otherwise we'll merge in a about 2 weeks.

@kantooon

Copy link
Copy Markdown
Contributor Author

Can this be merged now?

@zuckschwerdt zuckschwerdt merged commit 0646ea3 into pothosware:master Mar 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants