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/tempo_lines.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/tempo_lines.h')
-rw-r--r-- | gtk2_ardour/tempo_lines.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/tempo_lines.h b/gtk2_ardour/tempo_lines.h index 158ef7b1f9..5d1d7d71fa 100644 --- a/gtk2_ardour/tempo_lines.h +++ b/gtk2_ardour/tempo_lines.h @@ -19,22 +19,22 @@ #ifndef __ardour_tempo_lines_h__ #define __ardour_tempo_lines_h__ -#include "ardour/beats_frames_converter.h" +#include "ardour/beats_samples_converter.h" #include "ardour/tempo.h" #include "canvas/line_set.h" class TempoLines { public: - TempoLines (ArdourCanvas::Container* group, double screen_height, ARDOUR::BeatsFramesConverter* bfc); + TempoLines (ArdourCanvas::Container* group, double screen_height, ARDOUR::BeatsSamplesConverter* bfc); ~TempoLines (); - void tempo_map_changed(framepos_t new_origin); + void tempo_map_changed(samplepos_t new_origin); void draw (std::vector<ARDOUR::TempoMap::BBTPoint>& grid, unsigned divisions, - ARDOUR::framecnt_t leftmost_frame, - ARDOUR::framecnt_t frame_rate); + ARDOUR::samplecnt_t leftmost_sample, + ARDOUR::samplecnt_t sample_rate); void show(); void hide(); @@ -42,11 +42,11 @@ public: private: void draw_ticks (std::vector<ARDOUR::TempoMap::BBTPoint>& grid, unsigned divisions, - ARDOUR::framecnt_t leftmost_frame, - ARDOUR::framecnt_t frame_rate); + ARDOUR::samplecnt_t leftmost_sample, + ARDOUR::samplecnt_t sample_rate); ArdourCanvas::LineSet lines; - ARDOUR::BeatsFramesConverter* _bfc; + ARDOUR::BeatsSamplesConverter* _bfc; }; #endif /* __ardour_tempo_lines_h__ */ |