[longomatch] Expose new API.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Expose new API.
- Date: Wed, 18 Mar 2015 14:41:22 +0000 (UTC)
commit a012cda0bcc4ea40725ff0806ff762cc0473a067
Author: Julien Moutte <julien fluendo com>
Date: Fri Mar 13 18:47:50 2015 +0100
Expose new API.
We can control the volume remotely and inspect the playing media file set.
LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
index 3f92160..eb23d2e 100644
--- a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
@@ -145,6 +145,21 @@ namespace LongoMatch.Gui
base.OnDestroyed ();
}
#region Properties
+ public MediaFileSet MediaFileSet {
+ get {
+ return fileSet;
+ }
+ }
+
+ public double Volume {
+ get {
+ return player.Volume;
+ }
+ set {
+ OnVolumeChanged (value);
+ }
+ }
+
public Time CurrentTime {
get {
return player.CurrentTime - activeFile.Offset;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]