diff src/madplug/plugin.h @ 916:a8494c2a87eb trunk

[svn] revise reopen output code for #880. time count would be reset if output was closed. so I took two measures for it. - 1. time count will be recorded and restored on reopen. this seems to be right way, but it causes a short stoppage of playback. - 2. introduce a new plugin option "force_reopen_audio". if this is set to FALSE (default), decoder will not reopen output. this is a bit rude, but does not cause any interruption.
author yaz
date Thu, 05 Apr 2007 21:12:59 -0700
parents 0f9c8d4d3ac4
children e46b98155d5d
line wrap: on
line diff
--- a/src/madplug/plugin.h	Thu Apr 05 10:47:18 2007 -0700
+++ b/src/madplug/plugin.h	Thu Apr 05 21:12:59 2007 -0700
@@ -122,6 +122,7 @@
     gboolean title_override;
     gchar *id3_format;
     gboolean show_avg_vbr_bitrate;
+    gboolean force_reopen_audio;
 };
 
 // global variables