summaryrefslogtreecommitdiff
path: root/drumgizmo/jackclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/jackclient.h')
-rw-r--r--drumgizmo/jackclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drumgizmo/jackclient.h b/drumgizmo/jackclient.h
index 82cc0ed..83e5339 100644
--- a/drumgizmo/jackclient.h
+++ b/drumgizmo/jackclient.h
@@ -40,6 +40,7 @@ class JackProcess
public:
virtual ~JackProcess();
virtual void process(jack_nframes_t num_frames) = 0;
+ virtual void jackLatencyCallback(jack_latency_callback_mode_t mode) {}
};
// --------------------------------------------------------------------
@@ -78,6 +79,8 @@ private:
bool is_active;
int process(jack_nframes_t num_frames);
+ void jackLatencyCallback(jack_latency_callback_mode_t mode);
static int wrapJackProcess(jack_nframes_t nframes, void* arg);
+ static void latencyCallback(jack_latency_callback_mode_t mode, void* arg);
};