diff src/audacious/flow.c @ 3558:5aec9950c47a trunk

Add time to flow_execute() and friends.
author William Pitcock <nenolod@atheme.org>
date Tue, 18 Sep 2007 13:31:05 -0500
parents d4f9e45c1e27
children cc888ce7b6fb
line wrap: on
line diff
--- a/src/audacious/flow.c	Tue Sep 18 13:30:13 2007 -0500
+++ b/src/audacious/flow.c	Tue Sep 18 13:31:05 2007 -0500
@@ -37,7 +37,7 @@
     g_slice_free(Flow, flow);    
 }
 
-void flow_execute(Flow *flow, gpointer data, gsize len, AFormat fmt, 
+void flow_execute(Flow *flow, gint time, gpointer data, gsize len, AFormat fmt, 
      gint srate, gint channels)
 {
     FlowElement *element;
@@ -46,6 +46,7 @@
     g_return_if_fail(flow != NULL);
     g_return_if_fail(data != NULL);
 
+    context.time = time;
     context.data = data;
     context.len = len;
     context.fmt = fmt;