diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
commit | 73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch) | |
tree | c0039f3f5a848aed6e880abf11519dad855fa899 /libs/ardour/ardour/ticker.h | |
parent | 74b4a3c77b08dc1e58274875604eb73e8492fa93 (diff) |
Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/ticker.h')
-rw-r--r-- | libs/ardour/ardour/ticker.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/ardour/ardour/ticker.h b/libs/ardour/ardour/ticker.h index f5cda677ed..0a24070608 100644 --- a/libs/ardour/ardour/ticker.h +++ b/libs/ardour/ardour/ticker.h @@ -43,8 +43,8 @@ public: Ticker() {}; virtual ~Ticker() {} - virtual void tick( - const nframes_t& transport_frames, + virtual void tick ( + const framepos_t& transport_frames, const BBT_Time& transport_bbt, const Timecode::Time& transport_timecode) = 0; @@ -68,7 +68,7 @@ public: } void tick( - const nframes_t& transport_frames, + const framepos_t& transport_frames, const BBT_Time& transport_bbt, const Timecode::Time& transport_timecode); @@ -82,7 +82,7 @@ public: void transport_state_changed(); /// slot for the signal session::PositionChanged - void position_changed(nframes_t position); + void position_changed (framepos_t position); /// slot for the signal session::TransportLooped void transport_looped(); @@ -95,12 +95,12 @@ private: int _ppqn; double _last_tick; - double one_ppqn_in_frames(nframes_t transport_position); + double one_ppqn_in_frames (framepos_t transport_position); - void send_midi_clock_event(nframes_t offset); - void send_start_event(nframes_t offset); - void send_continue_event(nframes_t offset); - void send_stop_event(nframes_t offset); + void send_midi_clock_event (framecnt_t offset); + void send_start_event (framecnt_t offset); + void send_continue_event (framecnt_t offset); + void send_stop_event (framecnt_t offset); }; } |