summaryrefslogtreecommitdiff
path: root/drumgizmo/jackclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/jackclient.h')
-rw-r--r--drumgizmo/jackclient.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/drumgizmo/jackclient.h b/drumgizmo/jackclient.h
index 2574f18..ede6d9e 100644
--- a/drumgizmo/jackclient.h
+++ b/drumgizmo/jackclient.h
@@ -44,16 +44,12 @@ class JackProcess {
// --------------------------------------------------------------------
// RAII-wrapper for jack_port_t
-class JackPort {
- public:
- JackPort(JackClient& client, std::string const & name, const char * type, JackPortFlags flags);
- ~JackPort();
-
- void* getBuffer(jack_nframes_t num_frames);
-
- private:
- jack_client_t* const client;
- jack_port_t* const port;
+struct JackPort {
+ JackPort(JackClient& client, std::string const & name, const char * type, JackPortFlags flags);
+ ~JackPort();
+
+ jack_client_t* const client;
+ jack_port_t* const port;
};
// --------------------------------------------------------------------