aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-02-10 13:11:00 +0000
committerConor Curran <conor.curran@canonical.com>2010-02-10 13:11:00 +0000
commit1b4d886b058dcfc0c0c89631bdeb91209ebfcdda (patch)
tree515c6778ea438bdf966b5a52b30aaed76e52026d /src/sound-service.xml
parent8c992efe8d490c63021bca280c4e2d46f22bca40 (diff)
parentef8f7d725ef912219e1829d4c22db9abbc00df1a (diff)
downloadayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.tar.gz
ayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.tar.bz2
ayatana-indicator-sound-1b4d886b058dcfc0c0c89631bdeb91209ebfcdda.zip
merged with dev branch - should be seen as first release from now on will request merges
Diffstat (limited to 'src/sound-service.xml')
-rw-r--r--src/sound-service.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/sound-service.xml b/src/sound-service.xml
index 26d83e5..580f0e1 100644
--- a/src/sound-service.xml
+++ b/src/sound-service.xml
@@ -5,14 +5,31 @@
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_set_sink_volume"/>
<arg type='u' name='volume_percent' direction="in"/>
</method>
+ <method name = "GetSinkVolume">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_get_sink_volume"/>
+ <arg type='d' name='volume_percent_input' direction="out"/>
+ </method>
+
+ <method name = "GetSinkMute">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_get_sink_mute"/>
+ <arg type='b' name='mute_input' direction="out"/>
+ </method>
<!-- Will need to hook up another signal which monitors for volume change
Our respective UI element should listen to this and therefore will be updated with accurate setting-->
<!-- Triggered when a sink is muted but the input has been sent to that sink -->
<signal name="SinkInputWhileMuted">
- <arg name="sink_index" type="x" direction="out"/>
+ <arg name="block_value" type="b" direction="out"/>
+ </signal>
+
+ <signal name="SinkVolumeUpdate">
+ <arg name="volume_percent" type="u" direction="out"/>
+ </signal>
+
+ <signal name="SinkMuteUpdate">
<arg name="mute_value" type="b" direction="out"/>
</signal>
+
</interface>
</node>