diff src/audacious/objects.xml @ 3915:86c9abc83fbd

audacious remote functions: - functions for equalizer manipulation have been implemented. audtool: - test suite for equalizer manipulation has been implemented.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 07 Nov 2007 23:18:29 +0900
parents f3341c2d6b9e
children b5ee3a4a8e3b
line wrap: on
line diff
--- a/src/audacious/objects.xml	Tue Nov 06 20:46:19 2007 -0600
+++ b/src/audacious/objects.xml	Wed Nov 07 23:18:29 2007 +0900
@@ -77,17 +77,18 @@
     CMD_PLAYLIST_INS_URL_STRING
     CMD_PLAYLIST_ENQUEUE_TO_TEMP
     CMD_PLAYLIST_ADD
+    CMD_GET_EQ //CHANGED: now these functions use double due to dbus-glib restriction
+    CMD_GET_EQ_PREAMP
+    CMD_GET_EQ_BAND //NOTE: GArray is used for bands
+    CMD_SET_EQ
+    CMD_SET_EQ_PREAMP
+    CMD_SET_EQ_BAND
 
-    Remaining:
+    Obsolete:
     CMD_PLAYLIST_INS //unnecessary?
     CMD_GET_EQ_DATA //obsolete
     CMD_SET_EQ_DATA //obsolete
-    CMD_GET_EQ
-    CMD_GET_EQ_PREAMP
-    CMD_GET_EQ_BAND
-    CMD_SET_EQ
-    CMD_SET_EQ_PREAMP
-    CMD_SET_EQ_BAND
+
 -->
 
 <node name="/">
@@ -461,5 +462,38 @@
             <arg type="s" name="url"/>
         </method>
 
+        <!-- equalizer -->
+        <method name="GetEq">
+            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
+            <arg type="d" direction="out" name="preamp"/>
+            <arg type="ad" direction="out" name="bands"/>
+        </method>
+
+        <method name="GetEqPreamp">
+            <arg type="d" direction="out" name="preamp"/>
+        </method>
+
+        <method name="GetEqBand">
+            <arg type="i" name="band"/>
+            <arg type="d" direction="out" name="value"/>
+        </method>
+
+        <method name="SetEq">
+            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
+            <arg type="d" name="preamp"/>
+            <arg type="ad" name="bands"/>
+        </method>
+
+        <method name="SetEqPreamp">
+            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
+            <arg type="d" name="preamp"/>
+        </method>
+
+        <method name="SetEqBand">
+            <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/>
+            <arg type="i" name="band"/>
+            <arg type="d" name="value"/>
+        </method>
+
     </interface>
 </node>