|
From: | Eugene Grayver |
Subject: | Re: [Discuss-gnuradio] set_max_output_buffer_size |
Date: | Fri, 23 Dec 2016 00:18:39 +0000 |
Sorry about the attached patch -- the fix for max buffer size was incorrect. The correct fix is (cant generate a patch now):
buffer.cc:173 return d_orig_bufsize - most_data - 1; buffer.cc:115 d_orig_bufsize = nitems; buffer.h:73 unsigned int d_orig_bufsize;
I tested it a little and it appears to work just fine. Perhaps runtime experts want to comment? For performance reasons, we may want to warn the user if the buffer is very small. Anyone see other issues? ________________________ Eugene Grayver, Ph.D. |
[Prev in Thread] | Current Thread | [Next in Thread] |