1 #ifndef __ardour_latent_h__
2 #define __ardour_latent_h__
4 #include "ardour/types.h"
10 Latent() : _own_latency (0), _user_latency (0) {}
13 virtual nframes_t
signal_latency() const = 0;
14 nframes_t
user_latency () const { return _user_latency
; }
16 nframes_t
effective_latency() const {
20 return signal_latency ();
24 virtual void set_latency_delay (nframes_t val
) { _own_latency
= val
; }
25 virtual void set_user_latency (nframes_t val
) { _user_latency
= val
; }
28 nframes_t _own_latency
;
29 nframes_t _user_latency
;
34 #endif /* __ardour_latent_h__*/