diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-21 12:34:10 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-21 12:34:10 -0500 |
commit | 2d18283379927c661e6862a769a7b8bd8763b743 (patch) | |
tree | 535dc715fc4408025296932649d7ca80d91a6152 /libs | |
parent | 344cf05540126a96d875bd124c804a8df3eac4e8 (diff) |
make threaded waveview rendering a configure time option (enabled by default)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/canvas/wave_view.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc index f1f1653d70..bf99748c2c 100644 --- a/libs/canvas/wave_view.cc +++ b/libs/canvas/wave_view.cc @@ -73,7 +73,13 @@ WaveView::DrawingRequestQueue WaveView::request_queue; 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) |