From 4e2fb3fb89b8b80d5366466f391f21386120019e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Oct 2009 22:10:56 +0200 Subject: mixer_plugin: use GError for error handling --- src/mixer/software_mixer_plugin.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/mixer/software_mixer_plugin.c') diff --git a/src/mixer/software_mixer_plugin.c b/src/mixer/software_mixer_plugin.c index 661334e1b..e81d265cb 100644 --- a/src/mixer/software_mixer_plugin.c +++ b/src/mixer/software_mixer_plugin.c @@ -37,7 +37,8 @@ struct software_mixer { }; static struct mixer * -software_mixer_init(G_GNUC_UNUSED const struct config_param *param) +software_mixer_init(G_GNUC_UNUSED const struct config_param *param, + G_GNUC_UNUSED GError **error_r) { struct software_mixer *sm = g_new(struct software_mixer, 1); @@ -60,7 +61,7 @@ software_mixer_finish(struct mixer *data) } static bool -software_mixer_open(struct mixer *data) +software_mixer_open(struct mixer *data, G_GNUC_UNUSED GError **error_r) { struct software_mixer *sm = (struct software_mixer *)data; @@ -77,7 +78,7 @@ software_mixer_close(struct mixer *data) } static int -software_mixer_get_volume(struct mixer *mixer) +software_mixer_get_volume(struct mixer *mixer, G_GNUC_UNUSED GError **error_r) { struct software_mixer *sm = (struct software_mixer *)mixer; @@ -85,7 +86,8 @@ software_mixer_get_volume(struct mixer *mixer) } static bool -software_mixer_set_volume(struct mixer *mixer, unsigned volume) +software_mixer_set_volume(struct mixer *mixer, unsigned volume, + G_GNUC_UNUSED GError **error_r) { struct software_mixer *sm = (struct software_mixer *)mixer; -- cgit v1.2.3