[banshee] GStreamerSharp: emit a PlayerEvent.Volume at Volume setter



commit a40b3d3061496aacfcbce84f3fbf64feeee10ba8
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Fri Jan 24 15:42:42 2014 +0100

    GStreamerSharp: emit a PlayerEvent.Volume at Volume setter
    
    This lets the MediaEngineTests go a step further (they still fail but
    a bit later). This event was being emitted in the native backend but
    not in the managed one.

 .../Banshee.GStreamerSharp/PlayerEngine.cs         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs 
b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
index 78c51dc..283bf94 100644
--- a/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
+++ b/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs
@@ -756,6 +756,8 @@ namespace Banshee.GStreamerSharp
                 if (audio_sink.VolumeNeedsSaving) {
                     PlayerEngineService.VolumeSchema.Set (value);
                 }
+
+                OnEventChanged (PlayerEvent.Volume);
             }
         }
 


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