From 13319e0b70f603c35b601464fde875f207a44b93 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 27 Mar 2009 16:44:36 +0100 Subject: pulse_mixer: removed superfluous G_GNUC_UNUSED attributes Those parameters are used after all. --- src/mixer/pulse_mixer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mixer') 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; -- cgit v1.2.3