summaryrefslogtreecommitdiff
path: root/drumgizmo/jackclient.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-25 13:00:34 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:16 +0100
commitc970d83d7394e73f4bdff9c69a186ec91ac5f9de (patch)
tree7ee3c52be2cce744b30b40c5c7d0ea86372f09dd /drumgizmo/jackclient.h
parent29e6ee2ea1e8da158509fc1644894ca5de013530 (diff)
Fixed API-problems
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;
};
// --------------------------------------------------------------------