diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /libs/ardour/ardour/latent.h | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (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/latent.h')
-rw-r--r-- | libs/ardour/ardour/latent.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/latent.h b/libs/ardour/ardour/latent.h index bd639a8651..c4464f7ba4 100644 --- a/libs/ardour/ardour/latent.h +++ b/libs/ardour/ardour/latent.h @@ -30,10 +30,10 @@ class LIBARDOUR_API Latent { Latent() : _user_latency (0) {} virtual ~Latent() {} - virtual framecnt_t signal_latency() const = 0; - framecnt_t user_latency () const { return _user_latency; } + virtual samplecnt_t signal_latency() const = 0; + samplecnt_t user_latency () const { return _user_latency; } - framecnt_t effective_latency() const { + samplecnt_t effective_latency() const { if (_user_latency) { return _user_latency; } else { @@ -41,10 +41,10 @@ class LIBARDOUR_API Latent { } } - virtual void set_user_latency (framecnt_t val) { _user_latency = val; } + virtual void set_user_latency (samplecnt_t val) { _user_latency = val; } protected: - framecnt_t _user_latency; + samplecnt_t _user_latency; }; } |