diff options
author | Jesse Chappell <jesse@essej.net> | 2006-12-18 22:34:51 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2006-12-18 22:34:51 +0000 |
commit | 575c7974ebddffe71b1fc673c1463221f134bc16 (patch) | |
tree | 0f08f32746355b21dec5f40460bb8eff3750b418 /gtk2_ardour/audio_streamview.h | |
parent | ba4ca9db6dbb1872f3733626c00418884d5fc8f1 (diff) |
fixed waveform shape and scale issue to maintain the state for all new regions on the track
git-svn-id: svn://localhost/ardour2/trunk@1222 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_streamview.h')
-rw-r--r-- | gtk2_ardour/audio_streamview.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_streamview.h b/gtk2_ardour/audio_streamview.h index ed9c8b7f7f..295e02d96a 100644 --- a/gtk2_ardour/audio_streamview.h +++ b/gtk2_ardour/audio_streamview.h @@ -59,9 +59,9 @@ class AudioStreamView : public StreamView ~AudioStreamView (); void set_waveform_shape (WaveformShape); - WaveformShape get_waveform_shape () const; + WaveformShape get_waveform_shape () const { return _waveform_shape; } void set_waveform_scale (WaveformScale); - WaveformScale get_waveform_scale () const; + WaveformScale get_waveform_scale () const { return _waveform_scale; } int set_height (gdouble h); int set_samples_per_unit (gdouble spp); @@ -108,7 +108,9 @@ class AudioStreamView : public StreamView list<sigc::connection> peak_ready_connections; nframes_t last_rec_peak_frame; map<boost::shared_ptr<ARDOUR::Source>, bool> rec_peak_ready_map; - + + WaveformShape _waveform_shape; + WaveformScale _waveform_scale; }; #endif /* __ardour_audio_streamview_h__ */ |