summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port_insert.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 12:39:17 -0400
commit30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch)
tree620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/port_insert.h
parentcb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff)
globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
Diffstat (limited to 'libs/ardour/ardour/port_insert.h')
-rw-r--r--libs/ardour/ardour/port_insert.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h
index 0b1b3fbc00..2461f8a90f 100644
--- a/libs/ardour/ardour/port_insert.h
+++ b/libs/ardour/ardour/port_insert.h
@@ -53,13 +53,13 @@ class LIBARDOUR_API 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, double speed, pframes_t nframes, bool);
+ void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool);
- void flush_buffers (framecnt_t nframes) {
+ void flush_buffers (samplecnt_t nframes) {
_out->flush_buffers (nframes);
}
- framecnt_t signal_latency () const;
+ samplecnt_t signal_latency () const;
bool set_name (const std::string& name);
@@ -77,8 +77,8 @@ class LIBARDOUR_API PortInsert : public IOProcessor
void stop_latency_detection ();
MTDM* mtdm () const { return _mtdm; }
- void set_measured_latency (framecnt_t);
- framecnt_t latency () const;
+ void set_measured_latency (samplecnt_t);
+ samplecnt_t latency () const;
static std::string name_and_id_new_insert (Session&, uint32_t&);
@@ -91,8 +91,8 @@ class LIBARDOUR_API PortInsert : public IOProcessor
uint32_t _bitslot;
MTDM* _mtdm;
bool _latency_detect;
- framecnt_t _latency_flush_frames;
- framecnt_t _measured_latency;
+ samplecnt_t _latency_flush_samples;
+ samplecnt_t _measured_latency;
};
} // namespace ARDOUR