summaryrefslogtreecommitdiff
path: root/drumgizmo/jackclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/jackclient.h')
-rw-r--r--drumgizmo/jackclient.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/drumgizmo/jackclient.h b/drumgizmo/jackclient.h
index 09f8b48..82cc0ed 100644
--- a/drumgizmo/jackclient.h
+++ b/drumgizmo/jackclient.h
@@ -11,16 +11,16 @@
* This file is part of DrumGizmo.
*
* DrumGizmo is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
+ * it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* DrumGizmo is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * GNU Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
+ * You should have received a copy of the GNU Lesser General Public License
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
@@ -68,7 +68,7 @@ public:
void add(JackProcess& process);
void remove(JackProcess& process);
void activate();
- int process(jack_nframes_t num_frames);
+
std::size_t getBufferSize() const;
std::size_t getSampleRate() const;
@@ -76,4 +76,8 @@ private:
jack_client_t* client;
std::set<JackProcess*> processes;
bool is_active;
+
+ int process(jack_nframes_t num_frames);
+
+ static int wrapJackProcess(jack_nframes_t nframes, void* arg);
};