diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-11 13:34:46 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-11 13:35:01 -0400 |
commit | 077e62573493d889151ecbde4ecfc088ac9f08b1 (patch) | |
tree | da7ab4c54a44033e8ea45ea6ba0aef7806593eb3 /libs/canvas/canvas | |
parent | ceb3c3809072b4f2070ca3b1635d23d3a46d3746 (diff) |
don't queue a callback with the idle event for waveview image generation if one is already queued.
Also, hold relevant lock when waking image rendering thread.
Diffstat (limited to 'libs/canvas/canvas')
-rw-r--r-- | libs/canvas/canvas/wave_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/canvas/canvas/wave_view.h b/libs/canvas/canvas/wave_view.h index 9f87855e54..ceb6829da2 100644 --- a/libs/canvas/canvas/wave_view.h +++ b/libs/canvas/canvas/wave_view.h @@ -310,6 +310,7 @@ public: double _amplitude_above_axis; float _region_amplitude; double _start_shift; + mutable bool idle_queued; /** The `start' value to use for the region; we can't use the region's * value as the crossfade editor needs to alter it. |