changeset 3759:9e54690956a0

finalised the API, I think.
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 21:37:31 -0500
parents 21b45219249f
children 8fdaccee8312
files src/audacious/plugin.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sun Oct 14 21:34:45 2007 -0500
+++ b/src/audacious/plugin.h	Sun Oct 14 21:37:31 2007 -0500
@@ -555,6 +555,10 @@
 
     /* Probe */
     ProbeResult *(*input_check_file)(const gchar * filename, gboolean show_warning);
+
+    /* InputPlayback */
+    InputPlayback *(*playback_new)(void);
+    void (*playback_run)(InputPlayback *);
 };
 
 /* Convenience macros for accessing the public API. */
@@ -869,6 +873,10 @@
 
 #define aud_input_check_file			_audvt->input_check_file
 
+#define aud_playback_new			_audvt->playback_new
+#define aud_playback_run			_audvt->playback_run
+#define aud_playback_free(x)			g_slice_free(InputPlayback, (x))
+
 #include "audacious/auddrct.h"
 
 /* for multi-file plugins :( */