diff src/audacious/plugin.h @ 4030:0b004b3bfb70

Add plugin function to pull volume.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Wed, 28 Nov 2007 18:15:04 +0100
parents 4f9cf3173e2d
children 040243a50bd3
line wrap: on
line diff
--- a/src/audacious/plugin.h	Wed Nov 28 06:02:59 2007 +0900
+++ b/src/audacious/plugin.h	Wed Nov 28 18:15:04 2007 +0100
@@ -588,6 +588,8 @@
     gboolean (*dock_is_moving)(GtkWindow * w);
 
     GList *(*get_output_list)(void);
+
+    void (*input_get_volume)(gint * l, gint * r);
 };
 
 /* Convenience macros for accessing the public API. */
@@ -927,6 +929,8 @@
 
 #define aud_get_output_list			_audvt->get_output_list
 
+#define aud_input_get_volume			_audvt->input_get_volume
+
 #include "audacious/auddrct.h"
 
 /* for multi-file plugins :( */