diff options
author | Jesse Chappell <jesse@essej.net> | 2006-12-16 05:14:34 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2006-12-16 05:14:34 +0000 |
commit | 732a482f439f6df818b90634a5abb1b5d64ff05e (patch) | |
tree | 4b0a7c70665ff01b7ca88c79c7e0ab23f28796c8 /gtk2_ardour/audio_region_view.h | |
parent | df9bb392efc120e30321f9d03bc0241ad32c4ce4 (diff) |
added logarithmic option for waveform scaling. added save/restore of rectified and logscale waveform options in session. modified sconstruct to look for certain libs in some common locations, this should be usable controllable but isnt yet. deals better with the libsndfile build when flac is installed.
git-svn-id: svn://localhost/ardour2/trunk@1219 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_view.h')
-rw-r--r-- | gtk2_ardour/audio_region_view.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_region_view.h b/gtk2_ardour/audio_region_view.h index 0ced1aca55..3c46e906df 100644 --- a/gtk2_ardour/audio_region_view.h +++ b/gtk2_ardour/audio_region_view.h @@ -72,8 +72,10 @@ class AudioRegionView : public RegionView void set_envelope_visible (bool); void set_waveform_visible (bool yn); void set_waveform_shape (WaveformShape); + void set_waveform_scale (WaveformScale); bool waveform_rectified() const { return _flags & WaveformRectified; } + bool waveform_logscaled() const { return _flags & WaveformLogScaled; } bool waveform_visible() const { return _flags & WaveformVisible; } bool envelope_visible() const { return _flags & EnvelopeVisible; } @@ -116,7 +118,8 @@ class AudioRegionView : public RegionView enum Flags { EnvelopeVisible = 0x1, WaveformVisible = 0x4, - WaveformRectified = 0x8 + WaveformRectified = 0x8, + WaveformLogScaled = 0x10, }; void reset_fade_shapes (); |