PBD::Signal0<void> WaveView::VisualPropertiesChanged;
PBD::Signal0<void> WaveView::ClipLevelChanged;
+/* NO_THREAD_WAVEVIEWS is defined by the top level wscript
+ * if --no-threaded-waveviws is provided at the configure step.
+ */
+
+#ifndef NO_THREADED_WAVEVIEWS
#define ENABLE_THREADED_WAVEFORM_RENDERING
+#endif
WaveView::WaveView (Canvas* c, boost::shared_ptr<ARDOUR::AudioRegion> region)
: Item (c)
help='Turn on AddressSanitizer (requires GCC >= 4.8 or clang >= 3.1)')
opt.add_option('--ptformat', action='store_true', default=False, dest='ptformat',
help='Turn on PT session import option')
+ opt.add_option('--no-threaded-waveviews', action='store_true', default=False, dest='no_threaded_waveviews',
+ help='Disable threaded waveview rendering')
for i in children:
opt.recurse(i)
if opts.ptformat:
conf.define('PTFORMAT', 1)
conf.env['PTFORMAT'] = True
-
+ if opts.no_threaded_waveviews:
+ conf.define('NO_THREADED_WAVEVIEWS', 1)
+ conf.env['NO_THREADED_WAVEVIEWS'] = True
+
backends = opts.with_backends.split(',')
if not backends: