summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorMarcus Leech2012-02-06 10:45:07 -0500
committerTom Rondeau2012-02-06 10:45:07 -0500
commitd6126a670383791dc8e24926b0d84e1c1fbefdac (patch)
treee69163bcd4d424bfd80f28ea25612ee0ffaba04e /gnuradio-core/src
parente6805a25568a5ce24937039f57a6eb1df1f82aa9 (diff)
downloadgnuradio-d6126a670383791dc8e24926b0d84e1c1fbefdac.tar.gz
gnuradio-d6126a670383791dc8e24926b0d84e1c1fbefdac.tar.bz2
gnuradio-d6126a670383791dc8e24926b0d84e1c1fbefdac.zip
io: fix triggering and performance issues with oscope; specifically for the strip-chart features.
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/io/gr_oscope_guts.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/io/gr_oscope_guts.cc b/gnuradio-core/src/lib/io/gr_oscope_guts.cc
index f1bdeb9c1..7bdc53ab0 100644
--- a/gnuradio-core/src/lib/io/gr_oscope_guts.cc
+++ b/gnuradio-core/src/lib/io/gr_oscope_guts.cc
@@ -31,7 +31,7 @@
#include <math.h>
#include <assert.h>
-static const int OUTPUT_RECORD_SIZE = 16384; // Must be power of 2
+static const int OUTPUT_RECORD_SIZE = 8192; // Must be power of 2
static inline int
wrap_bi (int buffer_index) // wrap buffer index
{
@@ -144,6 +144,7 @@ gr_oscope_guts::process_sample (const float *channel_data)
}
d_buffer[i][0] = channel_data[i];
}
+ d_trigger_off = 0;
write_output_records();
}
}