aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-03-18 20:20:26 +0000
committerConor Curran <conor.curran@canonical.com>2010-03-18 20:20:26 +0000
commitb26c97936312634da3fb30e818a76ce2a5a03992 (patch)
tree7bd1abcdb49ab687338e40068ec75a24a199e1ca /src/sound-service.xml
parent69049dd2d6011e9ab96f4f439d00e1de98178449 (diff)
parentda7146ab578829c406c4d3ccde8b89443ba634c9 (diff)
downloadayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.tar.gz
ayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.tar.bz2
ayatana-indicator-sound-b26c97936312634da3fb30e818a76ce2a5a03992.zip
merged in updates from trunk and fixed the tests on the indicator
Diffstat (limited to 'src/sound-service.xml')
-rw-r--r--src/sound-service.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sound-service.xml b/src/sound-service.xml
index 580f0e1..12ed03e 100644
--- a/src/sound-service.xml
+++ b/src/sound-service.xml
@@ -5,6 +5,7 @@
<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"/>
@@ -15,6 +16,11 @@
<arg type='b' name='mute_input' direction="out"/>
</method>
+ <method name = "GetSinkAvailability">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_get_sink_availability"/>
+ <arg type='b' name='availability_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 -->
@@ -30,6 +36,10 @@ Our respective UI element should listen to this and therefore will be updated wi
<arg name="mute_value" type="b" direction="out"/>
</signal>
+ <signal name="SinkAvailableUpdate">
+ <arg name="available_value" type="b" direction="out"/>
+ </signal>
+
</interface>
</node>