summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port_insert.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-03 22:26:29 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-03 22:26:29 +0000
commit73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch)
treec0039f3f5a848aed6e880abf11519dad855fa899 /libs/ardour/ardour/port_insert.h
parent74b4a3c77b08dc1e58274875604eb73e8492fa93 (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/port_insert.h')
-rw-r--r--libs/ardour/ardour/port_insert.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h
index f4e20a8045..d460aa5546 100644
--- a/libs/ardour/ardour/port_insert.h
+++ b/libs/ardour/ardour/port_insert.h
@@ -50,9 +50,9 @@ class PortInsert : public IOProcessor
XMLNode& get_state(void);
int set_state (const XMLNode&, int version);
- void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, nframes_t nframes, bool);
+ void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool);
- nframes_t signal_latency() const;
+ framecnt_t signal_latency () const;
bool set_name (const std::string& name);
@@ -68,8 +68,8 @@ class PortInsert : public IOProcessor
void stop_latency_detection ();
MTDM* mtdm () const { return _mtdm; }
- void set_measured_latency (nframes_t);
- nframes_t latency() const;
+ void set_measured_latency (framecnt_t);
+ framecnt_t latency () const;
private:
/* disallow copy construction */
@@ -77,11 +77,12 @@ class PortInsert : public IOProcessor
boost::shared_ptr<Delivery> _out;
- uint32_t bitslot;
- MTDM* _mtdm;
- bool _latency_detect;
- nframes_t _latency_flush_frames;
- nframes_t _measured_latency;};
+ uint32_t bitslot;
+ MTDM* _mtdm;
+ bool _latency_detect;
+ framecnt_t _latency_flush_frames;
+ framecnt_t _measured_latency;
+};
} // namespace ARDOUR