Commit 350aa330 authored by Max Kellermann's avatar Max Kellermann

output/raop: consistently use GError

parent d6290a2f
...@@ -63,11 +63,11 @@ raop_mixer_get_volume(struct mixer *mixer, G_GNUC_UNUSED GError **error_r) ...@@ -63,11 +63,11 @@ raop_mixer_get_volume(struct mixer *mixer, G_GNUC_UNUSED GError **error_r)
} }
static bool static bool
raop_mixer_set_volume(struct mixer *mixer, unsigned volume, G_GNUC_UNUSED GError **error_r) raop_mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r)
{ {
struct raop_mixer_plugin *rm = (struct raop_mixer_plugin *)mixer; struct raop_mixer_plugin *rm = (struct raop_mixer_plugin *)mixer;
g_debug("raop_mixer_set_volume\n"); g_debug("raop_mixer_set_volume\n");
return raop_set_volume(rm->rd, volume); return raop_set_volume(rm->rd, volume, error_r);
} }
const struct mixer_plugin raop_mixer_plugin = { const struct mixer_plugin raop_mixer_plugin = {
......
...@@ -155,7 +155,7 @@ struct raop_session_data { ...@@ -155,7 +155,7 @@ struct raop_session_data {
/*********************************************************************/ /*********************************************************************/
bool bool
raop_set_volume(struct raop_data *rd, unsigned volume); raop_set_volume(struct raop_data *rd, unsigned volume, GError **error_r);
int int
raop_get_volume(struct raop_data *rd); raop_get_volume(struct raop_data *rd);
......
...@@ -60,7 +60,8 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po, ...@@ -60,7 +60,8 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
bool bool
raop_set_volume(G_GNUC_UNUSED struct raop_data *rd, raop_set_volume(G_GNUC_UNUSED struct raop_data *rd,
G_GNUC_UNUSED unsigned volume) G_GNUC_UNUSED unsigned volume,
G_GNUC_UNUSED GError **error_r)
{ {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment