summaryrefslogtreecommitdiffstats
path: root/raul/JackDriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'raul/JackDriver.h')
-rw-r--r--raul/JackDriver.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/raul/JackDriver.h b/raul/JackDriver.h
index 52e22cd..b16eeb3 100644
--- a/raul/JackDriver.h
+++ b/raul/JackDriver.h
@@ -65,7 +65,7 @@ public:
protected:
/** Process callback. Derived classes should do all audio processing here. */
- virtual void on_process(jack_nframes_t nframes) {}
+ virtual void on_process(jack_nframes_t /*nframes*/) {}
/** Graph order change callback. */
virtual void on_graph_order_changed() {}
@@ -74,11 +74,11 @@ protected:
* At the time this is called, buffer_size() will still return the old
* size. Immediately afterwards, it will be set to the new value.
*/
- virtual void on_buffer_size_changed(jack_nframes_t size) {}
+ virtual void on_buffer_size_changed(jack_nframes_t /*size*/) {}
- virtual void on_xrun() {}
- virtual void on_shutdown() {}
- virtual void on_error() {}
+ virtual void on_xrun() {}
+ virtual void on_shutdown() {}
+ virtual void on_error() {}
private:
@@ -88,8 +88,6 @@ private:
void update_time();
-
-
static void jack_port_registration_cb(jack_port_id_t port_id, int registered, void* me);
static int jack_graph_order_cb(void* me);
static int jack_buffer_size_cb(jack_nframes_t buffer_size, void* me);