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/marker.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/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index 391653f090..443a3646b7 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -61,7 +61,7 @@ public: ArdourMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Type, - framepos_t frame = 0, bool handle_events = true); + samplepos_t sample = 0, bool handle_events = true); virtual ~ArdourMarker (); @@ -75,13 +75,13 @@ public: void set_show_line (bool); void canvas_height_set (double); - void set_position (framepos_t); + void set_position (samplepos_t); void set_name (const std::string&); void set_points_color (uint32_t rgba); void set_color_rgba (uint32_t rgba); void setup_line (); - framepos_t position() const { return frame_position; } + samplepos_t position() const { return sample_position; } ArdourCanvas::Container * get_parent() { return _parent; } void reparent (ArdourCanvas::Container & parent); @@ -115,7 +115,7 @@ protected: std::string _name; double unit_position; - framepos_t frame_position; + samplepos_t sample_position; double _shift; Type _type; int name_height; |