diff options
Diffstat (limited to 'src/sound-service.xml')
-rw-r--r-- | src/sound-service.xml | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/src/sound-service.xml b/src/sound-service.xml index a552d52..18e47fc 100644 --- a/src/sound-service.xml +++ b/src/sound-service.xml @@ -1,31 +1,18 @@ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> <node name="/com/canonical/indicators/sound"> <interface name="com.canonical.indicators.sound"> - <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 name = "BlacklistMediaPlayer"> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="sound_service_dbus_blacklist_media_player"/> + <arg type='s' name='player_desktop_name' direction="in"/> + <arg type='b' name='blacklist' direction="in"/> </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 name = "GetSoundState"> + <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="SinkMuteUpdate"> - <arg name="mute_value" type="b" direction="out"/> + <signal name="SoundStateUpdate"> + <arg name="new_state" type="i" direction="out"/> </signal> - - <signal name="SinkAvailableUpdate"> - <arg name="available_value" type="b" direction="out"/> - </signal> - </interface> </node> |