diff src/sexypsf/plugin.c @ 1998:8f3188746b64

chase last changeset in aud
author William Pitcock <nenolod@atheme.org>
date Mon, 08 Oct 2007 02:02:02 -0500
parents 4b78df9dcf93
children 2f2ffbc2d04d
line wrap: on
line diff
--- a/src/sexypsf/plugin.c	Sun Oct 07 18:22:16 2007 -0500
+++ b/src/sexypsf/plugin.c	Mon Oct 08 02:02:02 2007 -0500
@@ -60,13 +60,12 @@
     {
         int t = playback->output->buffer_free() & mask;
         if (t > count)     
-            produce_audio(playback->output->written_time(),
+            playback->pass_audio(playback,
                           FMT_S16_NE, 2, count, buffer, NULL);
         else
         {
             if (t)
-                produce_audio(playback->output->written_time(),
-                              FMT_S16_NE, 2, t, buffer, NULL);
+                playback->pass_audio(playback, FMT_S16_NE, 2, t, buffer, NULL);
             g_usleep((count-t)*1000*5/441/2);
         }
         count -= t;