[rygel] renderer: Initialize mute state from player



commit 4b8cc9cda1b46d3f85c4d43176b8945bb9f241b4
Author: Jens Georg <jensg openismus com>
Date:   Mon Sep 16 17:09:26 2013 +0200

    renderer: Initialize mute state from player
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677552

 src/librygel-renderer/rygel-rendering-control.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-rendering-control.vala 
b/src/librygel-renderer/rygel-rendering-control.vala
index 65415ea..bbbca37 100644
--- a/src/librygel-renderer/rygel-rendering-control.vala
+++ b/src/librygel-renderer/rygel-rendering-control.vala
@@ -92,6 +92,7 @@ internal class Rygel.RenderingControl : Service {
         action_invoked["GetVolume"].connect (this.get_volume_cb);
         action_invoked["SetVolume"].connect (this.set_volume_cb);
 
+        this._mute = this.player.volume == 0;
         this._volume = Volume.to_percentage (this.player.volume);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]