aboutsummaryrefslogtreecommitdiff
path: root/bundle
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 11:34:32 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-17 11:34:32 +0200
commitab09ba477afda22d6c7315b27054b86c2875fcd0 (patch)
tree6ac37da5860e7a48e570512c5358d136875bdd89 /bundle
parentea060810235839626e5c5c2ab68e4309aabc74c3 (diff)
downloadsynthpod-ab09ba477afda22d6c7315b27054b86c2875fcd0.tar.xz
fix warnings reported by -Wall.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/synthpod_audio_sink.c22
-rw-r--r--bundle/synthpod_audio_source.c22
-rw-r--r--bundle/synthpod_cv_sink.c22
-rw-r--r--bundle/synthpod_cv_source.c22
-rw-r--r--bundle/synthpod_midi_sink.c22
-rw-r--r--bundle/synthpod_midi_source.c22
-rw-r--r--bundle/synthpod_osc_sink.c22
-rw-r--r--bundle/synthpod_osc_source.c22
-rw-r--r--bundle/synthpod_sink.c22
-rw-r--r--bundle/synthpod_source.c22
10 files changed, 20 insertions, 200 deletions
diff --git a/bundle/synthpod_audio_sink.c b/bundle/synthpod_audio_sink.c
index 023f13a1..1a9fc876 100644
--- a/bundle/synthpod_audio_sink.c
+++ b/bundle/synthpod_audio_sink.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_audio_sink = {
.URI = SYNTHPOD_AUDIO_SINK_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_audio_source.c b/bundle/synthpod_audio_source.c
index 950ad680..a3daeb19 100644
--- a/bundle/synthpod_audio_source.c
+++ b/bundle/synthpod_audio_source.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_audio_source = {
.URI = SYNTHPOD_AUDIO_SOURCE_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_cv_sink.c b/bundle/synthpod_cv_sink.c
index edeacdb0..ad5b0c66 100644
--- a/bundle/synthpod_cv_sink.c
+++ b/bundle/synthpod_cv_sink.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_cv_sink = {
.URI = SYNTHPOD_CV_SINK_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_cv_source.c b/bundle/synthpod_cv_source.c
index d914a230..7360ad36 100644
--- a/bundle/synthpod_cv_source.c
+++ b/bundle/synthpod_cv_source.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_cv_source = {
.URI = SYNTHPOD_CV_SOURCE_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_midi_sink.c b/bundle/synthpod_midi_sink.c
index 8a1688ee..d85a0727 100644
--- a/bundle/synthpod_midi_sink.c
+++ b/bundle/synthpod_midi_sink.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_midi_sink = {
.URI = SYNTHPOD_MIDI_SINK_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_midi_source.c b/bundle/synthpod_midi_source.c
index cab45987..b4ead45b 100644
--- a/bundle/synthpod_midi_source.c
+++ b/bundle/synthpod_midi_source.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_midi_source = {
.URI = SYNTHPOD_MIDI_SOURCE_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_osc_sink.c b/bundle/synthpod_osc_sink.c
index b98a70fa..80b38c3e 100644
--- a/bundle/synthpod_osc_sink.c
+++ b/bundle/synthpod_osc_sink.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_osc_sink = {
.URI = SYNTHPOD_OSC_SINK_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_osc_source.c b/bundle/synthpod_osc_source.c
index fb1cc44a..7cfea15d 100644
--- a/bundle/synthpod_osc_source.c
+++ b/bundle/synthpod_osc_source.c
@@ -60,26 +60,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -108,9 +90,9 @@ const LV2_Descriptor synthpod_osc_source = {
.URI = SYNTHPOD_OSC_SOURCE_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_sink.c b/bundle/synthpod_sink.c
index 6658b3bd..9766674a 100644
--- a/bundle/synthpod_sink.c
+++ b/bundle/synthpod_sink.c
@@ -103,26 +103,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- //plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -151,9 +133,9 @@ const LV2_Descriptor synthpod_sink = {
.URI = SYNTHPOD_SINK_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};
diff --git a/bundle/synthpod_source.c b/bundle/synthpod_source.c
index ea68ed66..b9a6db54 100644
--- a/bundle/synthpod_source.c
+++ b/bundle/synthpod_source.c
@@ -103,26 +103,8 @@ query(LV2_Handle instance, uint32_t port)
}
static void
-activate(LV2_Handle instance)
-{
- //plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
run(LV2_Handle instance, uint32_t nsamples)
{
- plughandle_t *handle = instance;
-
- // nothing
-}
-
-static void
-deactivate(LV2_Handle instance)
-{
- plughandle_t *handle = instance;
-
// nothing
}
@@ -151,9 +133,9 @@ const LV2_Descriptor synthpod_source = {
.URI = SYNTHPOD_SOURCE_URI,
.instantiate = instantiate,
.connect_port = connect_port,
- .activate = activate,
+ .activate = NULL,
.run = run,
- .deactivate = deactivate,
+ .deactivate = NULL,
.cleanup = cleanup,
.extension_data = extension_data
};