ardour/libs/waveview/waveview
Robin Gareus 7b92f54929
Fix random off-by-one issue when vertically zooming a waveform
To mitigate concurrent rendering, the waveform cache adds a random
range of pixels centered around the visible waveform.

Alignment is using integer half_width = width_samples / 2;
This always aligns the left-edge to the left-most cairo-pixel.

This fixes an issue with moving moiree patterns in waveforms when
zooming vertically (which invalidates the cache and uses a
different random number of pixels),
2019-07-29 03:56:35 +02:00
..
debug.h
visibility.h
wave_view.h globally change all use of "frame" to refer to audio into "sample". 2017-09-18 12:39:17 -04:00
wave_view_private.h Fix random off-by-one issue when vertically zooming a waveform 2019-07-29 03:56:35 +02:00