From 30b087ab3d28f1585987fa3f6ae006562ae192e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 12:39:17 -0400 Subject: 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 --- libs/ardour/ardour/port.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour/port.h') diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index 288dddee43..e59df0cb03 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -127,10 +127,10 @@ public: static PBD::Signal0 PortDrop; static PBD::Signal0 PortSignalDrop; - static void set_cycle_framecnt (pframes_t n) { + static void set_cycle_samplecnt (pframes_t n) { _cycle_nframes = n; } - static framecnt_t port_offset() { return _global_port_buffer_offset; } + static samplecnt_t port_offset() { return _global_port_buffer_offset; } static void set_global_port_buffer_offset (pframes_t off) { _global_port_buffer_offset = off; } @@ -155,7 +155,7 @@ protected: static pframes_t _global_port_buffer_offset; /* access only from process() tree */ static pframes_t _cycle_nframes; /* access only from process() tree */ - framecnt_t _port_buffer_offset; /* access only from process() tree */ + samplecnt_t _port_buffer_offset; /* access only from process() tree */ LatencyRange _private_playback_latency; LatencyRange _private_capture_latency; -- cgit v1.2.3