summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-03-16 17:01:28 +0000
committerDavid Robillard <d@drobilla.net>2008-03-16 17:01:28 +0000
commit9b24c3ac59cd0a394672689aa82b6845628626cb (patch)
treedd1b7769da86c0f6545f96c21e4937f769430701 /src/PatchageEvent.hpp
parent25f833aac2100a9947dbd7ee1de7d8c6a6b41648 (diff)
downloadpatchage-9b24c3ac59cd0a394672689aa82b6845628626cb.tar.gz
patchage-9b24c3ac59cd0a394672689aa82b6845628626cb.tar.bz2
patchage-9b24c3ac59cd0a394672689aa82b6845628626cb.zip
Add Jack D-Bus driver (from Nedko).
git-svn-id: http://svn.drobilla.net/lad/patchage@1167 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r--src/PatchageEvent.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp
index e9357ba..3fe0623 100644
--- a/src/PatchageEvent.hpp
+++ b/src/PatchageEvent.hpp
@@ -74,8 +74,10 @@ public:
struct PortRef {
PortRef() : type(NULL_PORT_REF) { memset(&id, 0, sizeof(id)); }
+#ifdef HAVE_JACK
PortRef(jack_port_id_t jack_id, bool ign=false)
: type(JACK_ID) { id.jack_id = jack_id; }
+#endif
#ifdef HAVE_ALSA
PortRef(snd_seq_addr_t addr, bool in)