summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_streamview.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-10 21:58:25 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-10 21:58:25 +0000
commit52fc310cfb540f9fd7d459453cbbaaa4bde47e9e (patch)
tree3e3d575da2576656d26aa710d216405b8415875a /gtk2_ardour/audio_streamview.h
parent2efc80da175cf6879c2a9904930f9be8381baf3d (diff)
Make waveform show / scale / shape a global option in the prefs dialog to clean things up a bit. Options to make exceptions for individual tracks could be re-added, if people want them.
git-svn-id: svn://localhost/ardour2/branches/3.0@5160 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_streamview.h')
-rw-r--r--gtk2_ardour/audio_streamview.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/gtk2_ardour/audio_streamview.h b/gtk2_ardour/audio_streamview.h
index 728e9b39f2..1c5265f193 100644
--- a/gtk2_ardour/audio_streamview.h
+++ b/gtk2_ardour/audio_streamview.h
@@ -57,11 +57,6 @@ class AudioStreamView : public StreamView
AudioStreamView (AudioTimeAxisView&);
~AudioStreamView ();
- void set_waveform_shape (Editing::WaveformShape);
- Editing::WaveformShape get_waveform_shape () const { return _waveform_shape; }
- void set_waveform_scale (Editing::WaveformScale);
- Editing::WaveformScale get_waveform_scale () const { return _waveform_scale; }
-
int set_samples_per_unit (gdouble spp);
int set_amplitude_above_axis (gdouble app);
@@ -105,6 +100,10 @@ class AudioStreamView : public StreamView
void color_handler ();
void update_contents_height ();
+
+ void parameter_changed (std::string const &);
+ void set_waveform_shape (ARDOUR::WaveformShape);
+ void set_waveform_scale (ARDOUR::WaveformScale);
double _amplitude_above_axis;
@@ -112,15 +111,11 @@ class AudioStreamView : public StreamView
CrossfadeViewList crossfade_views;
bool crossfades_visible;
-
std::list<sigc::connection> rec_data_ready_connections;
nframes_t last_rec_data_frame;
std::map<boost::shared_ptr<ARDOUR::Source>, bool> rec_data_ready_map;
bool outline_region;
-
- Editing::WaveformShape _waveform_shape;
- Editing::WaveformScale _waveform_scale;
};
#endif /* __ardour_audio_streamview_h__ */