diff src/flacng/plugin.c @ 2709:04249b58c738

Remove references to output plugin field in InputPlugins (hopefully I didn't miss any.)
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 16 Jun 2008 05:48:57 +0300
parents bd3a24b39058
children f1b6f1b2cdb3
line wrap: on
line diff
--- a/src/flacng/plugin.c	Mon Jun 16 02:28:11 2008 +0300
+++ b/src/flacng/plugin.c	Mon Jun 16 05:48:57 2008 +0300
@@ -446,7 +446,7 @@
                 /*
                  * Flush the buffers
                  */
-                flac_ip.output->flush(seek_to);
+                playback->output->flush(seek_to);
             }
             seek_to = -1;
         }
@@ -462,7 +462,7 @@
 
             _DEBUG("End of stream reached, draining output buffer");
 
-            while((-1 == seek_to) && flac_ip.output->buffer_playing() && playback->playing == TRUE) {
+            while((-1 == seek_to) && playback->output->buffer_playing() && playback->playing == TRUE) {
                 g_usleep(40000);
             }
 
@@ -478,7 +478,7 @@
      */
     playback->playing = FALSE;
     _DEBUG("Closing audio device");
-    flac_ip.output->close_audio();
+    playback->output->close_audio();
     _DEBUG("Audio device closed");
 
     free(play_buffer);