diff options
Diffstat (limited to 'gnuradio-runtime/lib/qa_buffer.cc')
-rw-r--r-- | gnuradio-runtime/lib/qa_buffer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-runtime/lib/qa_buffer.cc b/gnuradio-runtime/lib/qa_buffer.cc index cefe548338..1c97fd070d 100644 --- a/gnuradio-runtime/lib/qa_buffer.cc +++ b/gnuradio-runtime/lib/qa_buffer.cc @@ -43,7 +43,7 @@ static void t0_body() int counter = 0; gr::buffer_sptr buf( - gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, gr::block_sptr())); + gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, 1, gr::block_sptr())); int last_sa; int sa; @@ -78,7 +78,7 @@ static void t1_body() int read_counter = 0; gr::buffer_sptr buf( - gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, gr::block_sptr())); + gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, 1, gr::block_sptr())); gr::buffer_reader_sptr r1(gr::buffer_add_reader(buf, 0, gr::block_sptr())); int sa; @@ -150,7 +150,7 @@ static void t2_body() int nitems = (64 * (1L << 10)) / sizeof(int); // 64K worth of ints gr::buffer_sptr buf( - gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, gr::block_sptr())); + gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, 1, gr::block_sptr())); gr::buffer_reader_sptr r1(gr::buffer_add_reader(buf, 0, gr::block_sptr())); int read_counter = 0; @@ -216,7 +216,7 @@ static void t3_body() static const int N = 5; gr::buffer_sptr buf( - gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, gr::block_sptr())); + gr::make_buffer_double_mapped(nitems, sizeof(int), nitems, 1, gr::block_sptr())); gr::buffer_reader_sptr reader[N]; int read_counter[N]; int write_counter = 0; |