From c970d83d7394e73f4bdff9c69a186ec91ac5f9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Mon, 25 Jan 2016 13:00:34 +0100 Subject: Fixed API-problems --- drumgizmo/jackclient.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'drumgizmo/jackclient.h') 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; }; // -------------------------------------------------------------------- -- cgit v1.2.3