summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-28 19:31:25 +0100
committerDavid Robillard <d@drobilla.net>2020-11-28 22:49:10 +0100
commit1c5decf5f85b7808a70885c820596fac013cf644 (patch)
tree34f873fc6099df1e08af0dd7898f67404622b1f0 /src/JackDriver.hpp
parent37a33e5549354b6142ce4aeacd6a7c627e772f48 (diff)
downloadpatchage-1c5decf5f85b7808a70885c820596fac013cf644.tar.gz
patchage-1c5decf5f85b7808a70885c820596fac013cf644.tar.bz2
patchage-1c5decf5f85b7808a70885c820596fac013cf644.zip
Factor out getting client and port metadata and send it with events
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r--src/JackDriver.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp
index 402ebc7..6e41fbb 100644
--- a/src/JackDriver.hpp
+++ b/src/JackDriver.hpp
@@ -17,8 +17,10 @@
#ifndef PATCHAGE_JACKDRIVER_HPP
#define PATCHAGE_JACKDRIVER_HPP
+#include "ClientInfo.hpp"
#include "Driver.hpp"
#include "PatchageEvent.hpp"
+#include "PortInfo.hpp"
#include <glibmm/thread.h>
#include <jack/jack.h>
@@ -81,6 +83,9 @@ public:
void process_events(Patchage* app) override;
private:
+ ClientInfo get_client_info(const char* name);
+ PortInfo get_port_info(const jack_port_t* port);
+
PatchagePort*
create_port(PatchageModule& parent, jack_port_t* port, const PortID& id);