comparison src/audacious/plugin.h @ 2729:643be93d0a30 trunk

[svn] - fix ABI
author nenolod
date Thu, 10 May 2007 14:13:20 -0700
parents c35913222440
children 637359219e10
comparison
equal deleted inserted replaced
2728:452a159dc619 2729:643be93d0a30
219 struct _GeneralPlugin { 219 struct _GeneralPlugin {
220 gpointer handle; 220 gpointer handle;
221 gchar *filename; 221 gchar *filename;
222 222
223 gint xmms_session; 223 gint xmms_session;
224 gchar *description;
225
226 void (*init) (void);
227 void (*about) (void);
228 void (*configure) (void);
229 void (*cleanup) (void);
230
224 #ifdef USE_DBUS 231 #ifdef USE_DBUS
225 DBusGProxy *dbus_proxy; 232 DBusGProxy *dbus_proxy;
226 #endif 233 #endif
227 gchar *description;
228
229 void (*init) (void);
230 void (*about) (void);
231 void (*configure) (void);
232 void (*cleanup) (void);
233 }; 234 };
234 235
235 struct _VisPlugin { 236 struct _VisPlugin {
236 gpointer handle; 237 gpointer handle;
237 gchar *filename; 238 gchar *filename;
238 239
239 gint xmms_session; 240 gint xmms_session;
240 #ifdef USE_DBUS
241 DBusGProxy *dbus_proxy;
242 #endif
243 gchar *description; 241 gchar *description;
244 242
245 gint num_pcm_chs_wanted; 243 gint num_pcm_chs_wanted;
246 gint num_freq_chs_wanted; 244 gint num_freq_chs_wanted;
247 245
252 void (*disable_plugin) (struct _VisPlugin *); 250 void (*disable_plugin) (struct _VisPlugin *);
253 void (*playback_start) (void); 251 void (*playback_start) (void);
254 void (*playback_stop) (void); 252 void (*playback_stop) (void);
255 void (*render_pcm) (gint16 pcm_data[2][512]); 253 void (*render_pcm) (gint16 pcm_data[2][512]);
256 void (*render_freq) (gint16 freq_data[2][256]); 254 void (*render_freq) (gint16 freq_data[2][256]);
255
256 #ifdef USE_DBUS
257 DBusGProxy *dbus_proxy;
258 #endif
257 }; 259 };
258 260
259 261
260 G_BEGIN_DECLS 262 G_BEGIN_DECLS
261 263