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/ardour/latent.h | |
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/ardour/latent.h')
-rw-r--r-- | libs/ardour/ardour/latent.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/latent.h b/libs/ardour/ardour/latent.h index d1e62aaf45..ba2f91d2a2 100644 --- a/libs/ardour/ardour/latent.h +++ b/libs/ardour/ardour/latent.h @@ -10,10 +10,10 @@ class Latent { Latent() : _own_latency (0), _user_latency (0) {} virtual ~Latent() {} - virtual nframes_t signal_latency() const = 0; - nframes_t user_latency () const { return _user_latency; } + virtual framecnt_t signal_latency() const = 0; + framecnt_t user_latency () const { return _user_latency; } - nframes_t effective_latency() const { + framecnt_t effective_latency() const { if (_user_latency) { return _user_latency; } else { @@ -21,12 +21,12 @@ class Latent { } } - virtual void set_latency_delay (nframes_t val) { _own_latency = val; } - virtual void set_user_latency (nframes_t val) { _user_latency = val; } + virtual void set_latency_delay (framecnt_t val) { _own_latency = val; } + virtual void set_user_latency (framecnt_t val) { _user_latency = val; } protected: - nframes_t _own_latency; - nframes_t _user_latency; + framecnt_t _own_latency; + framecnt_t _user_latency; }; } |