13
0

Remove unused _own_latency member from Latent.

git-svn-id: svn://localhost/ardour2/branches/3.0@9881 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-07-15 00:50:43 +00:00
parent 9d57b87999
commit e2b8d42140
2 changed files with 2 additions and 4 deletions

View File

@ -111,7 +111,7 @@ class IO : public SessionObject, public Latent
bool connected () const; bool connected () const;
bool physically_connected () const; bool physically_connected () const;
framecnt_t signal_latency () const { return _own_latency; } framecnt_t signal_latency () const { return 0; }
framecnt_t latency () const; framecnt_t latency () const;
PortSet& ports() { return _ports; } PortSet& ports() { return _ports; }

View File

@ -26,7 +26,7 @@ namespace ARDOUR {
class Latent { class Latent {
public: public:
Latent() : _own_latency (0), _user_latency (0) {} Latent() : _user_latency (0) {}
virtual ~Latent() {} virtual ~Latent() {}
virtual framecnt_t signal_latency() const = 0; virtual framecnt_t signal_latency() const = 0;
@ -40,11 +40,9 @@ class Latent {
} }
} }
virtual void set_latency_delay (framecnt_t val) { _own_latency = val; }
virtual void set_user_latency (framecnt_t val) { _user_latency = val; } virtual void set_user_latency (framecnt_t val) { _user_latency = val; }
protected: protected:
framecnt_t _own_latency;
framecnt_t _user_latency; framecnt_t _user_latency;
}; };