diff src/audacious/output.c @ 4364:695e1c91be36

Reset op_state after calling close_audio to prevent possible future flushing.
author Sascha Hlusiak <contact@saschahlusiak.de>
date Mon, 24 Mar 2008 17:02:26 +0100
parents 04ade98fafa3
children b3e4f5c31546
line wrap: on
line diff
--- a/src/audacious/output.c	Sun Mar 23 15:58:34 2008 +0100
+++ b/src/audacious/output.c	Mon Mar 24 17:02:26 2008 +0100
@@ -289,6 +289,9 @@
     {
         plugin_set_current((Plugin *)op);
         op->close_audio();
+	op_state.fmt = 0;
+	op_state.rate = 0;
+	op_state.nch = 0;
     }
 
     plugin_set_current((Plugin *)op);