aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-19 15:25:18 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-19 15:25:18 -0600
commita4637ac0f922a3df3e31c19a0a86eebb6a8b4994 (patch)
treecabf6d00a45e7e6bf1e46e4ac97f5e0cef318d1d /src/sound-service.xml
parent6db28ce9134db40a0808a3c67df5f9dd223303b5 (diff)
downloadayatana-indicator-sound-a4637ac0f922a3df3e31c19a0a86eebb6a8b4994.tar.gz
ayatana-indicator-sound-a4637ac0f922a3df3e31c19a0a86eebb6a8b4994.tar.bz2
ayatana-indicator-sound-a4637ac0f922a3df3e31c19a0a86eebb6a8b4994.zip
further consolidation on the service side
Diffstat (limited to 'src/sound-service.xml')
-rw-r--r--src/sound-service.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sound-service.xml b/src/sound-service.xml
index da3ac18..44ecc2b 100644
--- a/src/sound-service.xml
+++ b/src/sound-service.xml
@@ -16,12 +16,21 @@
<arg type='b' name='availability_input' direction="out"/>
</method>
+ <method name = "GetSinkState">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_get_sink_state"/>
+ <arg type='i' name='current_state' 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="block_value" type="b" direction="out"/>
</signal>
+
+ <signal name="SinkStateUpdate">
+ <arg name="new_state" type="i" direction="out"/>
+ </signal>
<signal name="SinkMuteUpdate">
<arg name="mute_value" type="b" direction="out"/>