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/processor.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libs/ardour/ardour/processor.h') diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 095ab7fadf..fb77943a34 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -68,10 +68,10 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public bool get_next_ab_is_active () const { return _next_ab_is_active; } void set_next_ab_is_active (bool yn) { _next_ab_is_active = yn; } - virtual framecnt_t signal_latency() const { return 0; } + virtual samplecnt_t signal_latency() const { return 0; } - virtual void set_input_latency (framecnt_t); - framecnt_t input_latency () const { return _input_latency; } + virtual void set_input_latency (samplecnt_t); + samplecnt_t input_latency () const { return _input_latency; } virtual int set_block_size (pframes_t /*nframes*/) { return 0; } virtual bool requires_fixed_sized_buffers() const { return false; } @@ -79,8 +79,8 @@ class LIBARDOUR_API Processor : public SessionObject, public Automatable, public /** @param result_required true if, on return from this method, @a bufs is required to contain valid data; * if false, the method need not bother writing to @a bufs if it doesn't want to. */ - virtual void run (BufferSet& /*bufs*/, framepos_t /*start_frame*/, framepos_t /*end_frame*/, double speed, pframes_t /*nframes*/, bool /*result_required*/) {} - virtual void silence (framecnt_t nframes, framepos_t start_frame) { automation_run (start_frame, nframes); } + virtual void run (BufferSet& /*bufs*/, samplepos_t /*start_sample*/, samplepos_t /*end_sample*/, double speed, pframes_t /*nframes*/, bool /*result_required*/) {} + virtual void silence (samplecnt_t nframes, samplepos_t start_sample) { automation_run (start_sample, nframes); } virtual void activate () { _pending_active = true; ActiveChanged(); } virtual void deactivate () { _pending_active = false; ActiveChanged(); } @@ -152,7 +152,7 @@ protected: ProcessorWindowProxy *_window_proxy; PluginPinWindowProxy *_pinmgr_proxy; SessionObject* _owner; - framecnt_t _input_latency; + samplecnt_t _input_latency; }; } // namespace ARDOUR -- cgit v1.2.3