diff src/audacious/plugin.h @ 3696:418ac922ce87

Use a mutex/condvar/timed wait to allow tickless operation in the output loop. Add suggestions on how to improve produce_audio() API.
author William Pitcock <nenolod@atheme.org>
date Sat, 06 Oct 2007 20:35:52 -0500
parents 9f7b621249a0
children 0ef1a18a5583
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sat Oct 06 16:36:47 2007 -0500
+++ b/src/audacious/plugin.h	Sat Oct 06 20:35:52 2007 -0500
@@ -382,6 +382,10 @@
     GCond *pb_ready_cond;
     gint pb_ready_val;    
     gint (*set_pb_ready) (InputPlayback*);
+
+    GMutex *pb_change_mutex;
+    GCond *pb_change_cond;
+    void (*set_pb_change)(InputPlayback *self);
 };
 
 struct _InputPlugin {