RTL SDR USB Buffers? #186
WaterstarRunner
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi, the BUFFER_COUNT is used here. For the additional buffering I am not using the functionality from the native RTL-SDR driver but a built-in buffer (called FIFO) that works on top of this. So you will see in the output that RTL-SDR reports it is using the default buffers but not the additional buffers that are used (only when it reports out the value of BUFFER_COUNT). So in short, there are two buffers :-) Does that make sense? Cheers |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hiya,
I notice that the command line BUFFER_COUNT and JSON conf buffer_count for RTLSDR don't work / aren't documented, but do work if RTLSDR.cpp is modified from 0 (default 15 buffers) to BUFFER_COUNT (24 from RTLSDR.h) or as user configured...
rtlsdr_read_async(dev, (rtlsdr_read_async_cb_t) & (RTLSDR::callback_static), this, BUFFER_COUNT, BUFFER_SIZE);
Is there any reason why the configurability on this is disabled?
Not a big problem, I was trying to solve for multiple sdr receivers in multiple daemons crashing, but it turned out to be because my USB power consumption was maxed out, not a shortage of USB buffers.
Just curious. I have no idea what I'm doing, but my build with 12 default in RTLSDR.h and 8 in conf works nicely...
Beta Was this translation helpful? Give feedback.
All reactions