globally change all use of "frame" to refer to audio into "sample".
[ardour.git] / libs / ardour / ardour / ticker.h
index 0e5c3c80f4d0d1aada415252f3bedd99be761291..93d7a7904159055fb49fbbc9b202e9ce7a775c94 100644 (file)
@@ -42,7 +42,7 @@ public:
        MidiClockTicker ();
        virtual ~MidiClockTicker();
 
-        void tick (const framepos_t& transport_frames, pframes_t nframes);
+        void tick (const samplepos_t& transport_samples, pframes_t nframes);
 
        bool has_midi_port() const { return _midi_port != 0; }
 
@@ -73,8 +73,8 @@ public:
 
     class Position;
     boost::scoped_ptr<Position> _pos;
-    
-    double one_ppqn_in_frames (framepos_t transport_position);
+
+    double one_ppqn_in_samples (samplepos_t transport_position);
 
     void send_midi_clock_event (pframes_t offset, pframes_t nframes);
     void send_start_event (pframes_t offset, pframes_t nframes);
@@ -83,6 +83,6 @@ public:
     void send_position_event (uint32_t midi_clocks, pframes_t offset, pframes_t nframes);
 };
 }
- // namespace 
+ // namespace
 
 #endif /* __libardour_ticker_h__ */