comparison 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
comparison
equal deleted inserted replaced
915:1ccc7a9c7fc2 916:a8494c2a87eb
120 gdouble default_scale; 120 gdouble default_scale;
121 } replaygain; 121 } replaygain;
122 gboolean title_override; 122 gboolean title_override;
123 gchar *id3_format; 123 gchar *id3_format;
124 gboolean show_avg_vbr_bitrate; 124 gboolean show_avg_vbr_bitrate;
125 gboolean force_reopen_audio;
125 }; 126 };
126 127
127 // global variables 128 // global variables
128 InputPlugin *mad_plugin; 129 InputPlugin *mad_plugin;
129 struct audmad_config_t audmad_config; 130 struct audmad_config_t audmad_config;