add option to not use gradients when rendering waveforms (#4944)

git-svn-id: svn://localhost/ardour2/branches/3.0@13015 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-10 18:43:09 +00:00
parent 9a3d9dcb3c
commit 1eb4f9a2da
5 changed files with 579 additions and 4 deletions

View file

@ -64,6 +64,8 @@ struct _GnomeCanvasWaveViewCache
GnomeCanvasWaveViewCache* gnome_canvas_waveview_cache_new ();
void gnome_canvas_waveview_cache_destroy (GnomeCanvasWaveViewCache*);
void gnome_canvas_waveview_set_gradient_waveforms (int);
typedef gulong (*waveview_length_function_t)(void*);
typedef gulong (*waveview_sourcefile_length_function_t)(void*, double);
typedef void (*waveview_gain_curve_function_t)(void *arg, double start, double end, float* vector, gint64 veclen);