aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-27 16:44:36 +0100
committerMax Kellermann <max@duempel.org>2009-03-27 16:44:36 +0100
commit13319e0b70f603c35b601464fde875f207a44b93 (patch)
treeaee62ba288d334116484c0d81f1ba2d24c16b697 /src/mixer
parentd448392f253ed4600f2983eecf492bb9f0ec8716 (diff)
downloadmpd-13319e0b70f603c35b601464fde875f207a44b93.tar.gz
mpd-13319e0b70f603c35b601464fde875f207a44b93.tar.xz
mpd-13319e0b70f603c35b601464fde875f207a44b93.zip
pulse_mixer: removed superfluous G_GNUC_UNUSED attributes
Those parameters are used after all.
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/pulse_mixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mixer/pulse_mixer.c b/src/mixer/pulse_mixer.c
index 0e05271f2..f6b9acd40 100644
--- a/src/mixer/pulse_mixer.c
+++ b/src/mixer/pulse_mixer.c
@@ -126,7 +126,7 @@ sink_input_vol(G_GNUC_UNUSED pa_context *context, const pa_sink_input_info *i,
}
static void
-subscribe_cb(G_GNUC_UNUSED pa_context *c, pa_subscription_event_type_t t,
+subscribe_cb(pa_context *c, pa_subscription_event_type_t t,
uint32_t idx, void *userdata)
{
@@ -143,7 +143,7 @@ subscribe_cb(G_GNUC_UNUSED pa_context *c, pa_subscription_event_type_t t,
else {
pa_operation *o;
- o = pa_context_get_sink_input_info(pm->context, idx,
+ o = pa_context_get_sink_input_info(c, idx,
sink_input_cb, pm);
if (o == NULL) {
g_debug("pa_context_get_sink_input_info() failed");
@@ -259,7 +259,7 @@ pulse_mixer_setup(struct pulse_mixer *pm)
}
static bool
-pulse_mixer_open(G_GNUC_UNUSED struct mixer *data)
+pulse_mixer_open(struct mixer *data)
{
struct pulse_mixer *pm = (struct pulse_mixer *) data;
@@ -295,7 +295,7 @@ pulse_mixer_open(G_GNUC_UNUSED struct mixer *data)
}
static void
-pulse_mixer_close(G_GNUC_UNUSED struct mixer *data)
+pulse_mixer_close(struct mixer *data)
{
struct pulse_mixer *pm = (struct pulse_mixer *) data;