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/port_insert.cc | |
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/port_insert.cc')
-rw-r--r-- | libs/ardour/port_insert.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/port_insert.cc b/libs/ardour/port_insert.cc index 4854c08d8b..b738c68de8 100644 --- a/libs/ardour/port_insert.cc +++ b/libs/ardour/port_insert.cc @@ -78,12 +78,12 @@ PortInsert::stop_latency_detection () } void -PortInsert::set_measured_latency (nframes_t n) +PortInsert::set_measured_latency (framecnt_t n) { _measured_latency = n; } -nframes_t +framecnt_t PortInsert::latency() const { /* because we deliver and collect within the same cycle, @@ -101,7 +101,7 @@ PortInsert::latency() const } void -PortInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, nframes_t nframes, bool) +PortInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool) { if (_output->n_ports().n_total() == 0) { return; @@ -166,7 +166,7 @@ PortInsert::state (bool full) node.add_property ("type", "port"); snprintf (buf, sizeof (buf), "%" PRIu32, bitslot); node.add_property ("bitslot", buf); - snprintf (buf, sizeof (buf), "%u", _measured_latency); + snprintf (buf, sizeof (buf), "%" PRId64, _measured_latency); node.add_property("latency", buf); snprintf (buf, sizeof (buf), "%u", _session.get_block_size()); node.add_property("block_size", buf); @@ -227,7 +227,7 @@ PortInsert::set_state (const XMLNode& node, int version) return 0; } -ARDOUR::nframes_t +ARDOUR::framecnt_t PortInsert::signal_latency() const { /* because we deliver and collect within the same cycle, |