summaryrefslogtreecommitdiffstats
path: root/src/Driver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-08 17:01:52 +0000
committerDavid Robillard <d@drobilla.net>2007-06-08 17:01:52 +0000
commit5c24064f179d2d3b838d9b4bcfeb1d6c516ea3bb (patch)
treeb54ce73a2bdc402685d3c2dcf2154d88a511a84e /src/Driver.h
parentb11af4da2f170107124f5fb171a826d7ebb003fb (diff)
downloadpatchage-5c24064f179d2d3b838d9b4bcfeb1d6c516ea3bb.tar.gz
patchage-5c24064f179d2d3b838d9b4bcfeb1d6c516ea3bb.tar.bz2
patchage-5c24064f179d2d3b838d9b4bcfeb1d6c516ea3bb.zip
Use new Jack connection notifications instead of a full refresh (huge performance improvement).
git-svn-id: http://svn.drobilla.net/lad/patchage@536 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Driver.h')
-rw-r--r--src/Driver.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Driver.h b/src/Driver.h
index 18489ae..95ffe73 100644
--- a/src/Driver.h
+++ b/src/Driver.h
@@ -44,19 +44,11 @@ public:
Raul::SRSWQueue<PatchageEvent>& events() { return _events; }
- /** Returns whether or not a refresh is required (pending). */
- inline bool is_dirty() const { return _is_dirty; }
-
- /** Clear 'dirty' status after a refresh. */
- inline void undirty() { _is_dirty = false; }
-
sigc::signal<void> signal_attached;
sigc::signal<void> signal_detached;
protected:
- Driver() : _is_dirty(false), _events(1024) /* FIXME: size? */ {}
-
- bool _is_dirty;
+ Driver() : _events(1024) /* FIXME: size? */ {}
Raul::SRSWQueue<PatchageEvent> _events;
};