aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
blob: e7f3e75e9431a1e19836f9597f6f9bef106375e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/ayatana/indicator/sound">
  <interface name="org.ayatana.indicator.sound">
    <method name = "SetSinkVolume">
        <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_set_sink_volume"/>
        <arg type='u' name='volume_percent' direction="in"/>
    </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="mute_value" type="b" direction="out"/>
    </signal>
    <signal name="SinkVolumeUpdate">
      <arg name="volume_percent" type="u" direction="out"/>
    </signal>
  </interface>
</node>