From 381d827c0da72499f6092c7bb8cb6238ba0d2746 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Fri, 4 Feb 2011 19:55:20 +0000 Subject: hook back volume and mute setting and test --- src/pulseaudio-mgr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/pulseaudio-mgr.c') 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); } } -- cgit v1.2.3