There are a two problems with the set_max_output_buffer_size command:
1. It is not exposed in Python 2. It cannot set the buffer size smaller than the system page size (typically 4k). This is a big problem for low-rate, low-latency applications. I cannot provide a pull request, but am attaching a patch that should fix both problems. The idea behind fixing (2) is simple: allow the system to allocate the full 4k, but keep a local variable with the 'real' buffer size. Then, simply never report that you have more than 'real' buffer size items free. ________________________ Eugene Grayver, Ph.D. Aerospace Corp., Sr. Eng. Spec. Tel: 310.336.1274 ________________________
gnuradio_buffer.patch
Description: gnuradio_buffer.patch
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio