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/track.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/track.h')
-rw-r--r-- | libs/ardour/ardour/track.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index ff1b57950a..5087ddda3a 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -48,13 +48,13 @@ class Track : public Route, public PublicDiskstream virtual bool can_use_mode (TrackMode /*m*/, bool& /*bounce_required*/) { return false; } PBD::Signal0<void> TrackModeChanged; - virtual int no_roll (nframes_t nframes, framepos_t start_frame, framepos_t end_frame, + virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool state_changing, bool can_record, bool rec_monitors_input); - int silent_roll (nframes_t nframes, framepos_t start_frame, framepos_t end_frame, + int silent_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, bool can_record, bool rec_monitors_input, bool& need_butler); - virtual int roll (nframes_t nframes, framepos_t start_frame, framepos_t end_frame, + virtual int roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, int declick, bool can_record, bool rec_monitors_input, bool& need_butler) = 0; bool needs_butler() const { return _needs_butler; } @@ -67,8 +67,8 @@ class Track : public Route, public PublicDiskstream virtual void use_new_diskstream () = 0; virtual void set_diskstream (boost::shared_ptr<Diskstream>); - nframes_t update_total_latency(); - void set_latency_delay (nframes_t); + framecnt_t update_total_latency(); + void set_latency_delay (framecnt_t); enum FreezeState { NoFreeze, @@ -82,7 +82,7 @@ class Track : public Route, public PublicDiskstream virtual void unfreeze () = 0; virtual boost::shared_ptr<Region> bounce (InterThreadInfo&) = 0; - virtual boost::shared_ptr<Region> bounce_range (nframes_t start, nframes_t end, InterThreadInfo&, bool enable_processing = true) = 0; + virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, bool enable_processing = true) = 0; XMLNode& get_state(); XMLNode& get_template(); @@ -97,7 +97,7 @@ class Track : public Route, public PublicDiskstream /* XXX: unfortunate that this is exposed */ PBD::ID const & diskstream_id () const; - void set_block_size (nframes_t); + void set_block_size (pframes_t); /* PublicDiskstream interface */ boost::shared_ptr<Playlist> playlist (); |