diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /gtk2_ardour/audio_region_view.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
Diffstat (limited to 'gtk2_ardour/audio_region_view.h')
-rw-r--r-- | gtk2_ardour/audio_region_view.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk2_ardour/audio_region_view.h b/gtk2_ardour/audio_region_view.h index 8841ee2e43..d12d8ff086 100644 --- a/gtk2_ardour/audio_region_view.h +++ b/gtk2_ardour/audio_region_view.h @@ -97,14 +97,14 @@ public: GhostRegion* add_ghost (TimeAxisView&); - void reset_fade_in_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, framecnt_t, bool drag_active = false); - void reset_fade_out_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, framecnt_t, bool drag_active = false); + void reset_fade_in_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, samplecnt_t, bool drag_active = false); + void reset_fade_out_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, samplecnt_t, bool drag_active = false); - framepos_t get_fade_in_shape_width (); - framepos_t get_fade_out_shape_width (); + samplepos_t get_fade_in_shape_width (); + samplepos_t get_fade_out_shape_width (); void set_fade_visibility (bool); - void update_coverage_frames (LayerDisplay); + void update_coverage_samples (LayerDisplay); void update_transient(float old_pos, float new_pos); void remove_transient(float pos); @@ -119,8 +119,8 @@ public: void drag_start (); void drag_end (); - void redraw_start_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, framecnt_t, ArdourCanvas::Points&, double, double); - void redraw_end_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, framecnt_t, ArdourCanvas::Points&, double, double, double); + void redraw_start_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, samplecnt_t, ArdourCanvas::Points&, double, double); + void redraw_end_xfade_to (boost::shared_ptr<ARDOUR::AudioRegion>, samplecnt_t, ArdourCanvas::Points&, double, double, double); void redraw_start_xfade (); void redraw_end_xfade (); @@ -155,7 +155,7 @@ protected: std::vector<ArdourWaveView::WaveView *> waves; std::vector<ArdourWaveView::WaveView *> tmp_waves; ///< see ::create_waves() - std::list<std::pair<framepos_t, ArdourCanvas::Line*> > feature_lines; + std::list<std::pair<samplepos_t, ArdourCanvas::Line*> > feature_lines; ArdourCanvas::Polygon* sync_mark; ///< polgyon for sync position ArdourCanvas::Rectangle* fade_in_handle; ///< fade in handle, or 0 @@ -197,7 +197,7 @@ protected: void set_colors (); void set_waveform_colors (); void reset_width_dependent_items (double pixel_width); - void set_frame_color (); + void set_sample_color (); void color_handler (); |