aboutsummaryrefslogtreecommitdiff
path: root/src/active-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/active-sink.c')
-rw-r--r--src/active-sink.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/active-sink.c b/src/active-sink.c
index 78eb79f..62aa8d2 100644
--- a/src/active-sink.c
+++ b/src/active-sink.c
@@ -176,6 +176,15 @@ active_sink_mute_update (ActiveSink* self, gboolean muted)
sound_service_dbus_update_sound_state (priv->service, state);
}
+void
+active_sink_ensure_sink_is_unmuted (ActiveSink* self)
+{
+ ActiveSinkPrivate* priv = ACTIVE_SINK_GET_PRIVATE (self);
+ if (mute_menu_item_is_muted (priv->mute_menuitem)){
+ pm_update_mute (FALSE);
+ }
+}
+
static SoundState
active_sink_get_state_from_volume (ActiveSink* self)