globally change all use of "frame" to refer to audio into "sample".
[ardour.git] / gtk2_ardour / time_fx_dialog.h
index 426453ff48d4e80b1d8a82ac4e9aa4f67468b7b0..a069124547daaeb8f61b2f8217c7a87e1412f9c4 100644 (file)
@@ -40,7 +40,7 @@ class TimeFXDialog : public ArdourDialog, public ProgressReporter
 {
 public:
        /* We need a position so that BBT mode in the clock can function */
-       TimeFXDialog (Editor& e, bool for_pitch, ARDOUR::framecnt_t old_length, ARDOUR::framecnt_t new_length, ARDOUR::framepos_t position);
+       TimeFXDialog (Editor& e, bool for_pitch, ARDOUR::samplecnt_t old_length, ARDOUR::samplecnt_t new_length, ARDOUR::samplepos_t position);
 
        ARDOUR::TimeFXRequest request;
        Editor&               editor;
@@ -84,7 +84,7 @@ public:
        }
 
 private:
-       ARDOUR::framecnt_t      original_length;
+       ARDOUR::samplecnt_t      original_length;
        Gtk::Adjustment pitch_octave_adjustment;
        Gtk::Adjustment pitch_semitone_adjustment;
        Gtk::Adjustment pitch_cent_adjustment;