diff options
author | Max Kellermann <max@duempel.org> | 2009-10-20 22:10:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-20 22:10:56 +0200 |
commit | 4e2fb3fb89b8b80d5366466f391f21386120019e (patch) | |
tree | b483ed23c73afbbefcba86c1ce0d2b8c4afa824b /src/mixer/software_mixer_plugin.c | |
parent | 9cd2129eeb22280836e87bfa12389adf4ddb2488 (diff) | |
download | mpd-4e2fb3fb89b8b80d5366466f391f21386120019e.tar.gz mpd-4e2fb3fb89b8b80d5366466f391f21386120019e.tar.xz mpd-4e2fb3fb89b8b80d5366466f391f21386120019e.zip |
mixer_plugin: use GError for error handling
Diffstat (limited to '')
-rw-r--r-- | src/mixer/software_mixer_plugin.c | 10 |
1 files changed, 6 insertions, 4 deletions
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; |