aboutsummaryrefslogtreecommitdiff
path: root/src/pulseaudio-mgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulseaudio-mgr.c')
-rw-r--r--src/pulseaudio-mgr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pulseaudio-mgr.c b/src/pulseaudio-mgr.c
index cb786de..c8439e8 100644
--- a/src/pulseaudio-mgr.c
+++ b/src/pulseaudio-mgr.c
@@ -55,13 +55,11 @@ static void pm_sink_input_info_callback (pa_context *c,
const pa_sink_input_info *info,
int eol,
void *userdata);
-
static void pm_update_active_sink (pa_context *c,
const pa_sink_info *info,
int eol,
void *userdata);
-
static gboolean reconnect_to_pulse (gpointer user_data);
static gint connection_attempts = 0;
@@ -370,8 +368,8 @@ pm_update_active_sink (pa_context *c,
}
pa_volume_t vol = pa_cvolume_max (&info->volume);
gdouble volume_percent = ((gdouble) vol * 100) / PA_VOLUME_NORM;
- active_sink_update_volume (ACTIVE_SINK(userdata), volume_percent);
- active_sink_update_mute (ACTIVE_SINK(userdata), info->mute);
+ active_sink_volume_update (ACTIVE_SINK(userdata), volume_percent);
+ active_sink_mute_update (ACTIVE_SINK(userdata), info->mute);
}
}