diff src/madplug/plugin.h @ 2392:4ad6e7dfb389

imported 5298b10777b3 by Eugene Zagidullin. - peak == 0 mean absence of gain/peak pair
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 15 Feb 2008 19:15:29 +0900
parents bd9673d8b7d5
children ed6c81bd9016
line wrap: on
line diff
--- a/src/madplug/plugin.h	Fri Feb 15 19:13:35 2008 +0900
+++ b/src/madplug/plugin.h	Fri Feb 15 19:15:29 2008 +0900
@@ -77,13 +77,12 @@
     gchar *prev_title;           /* used to optimize set_info calls */
 
     /* replay parameters */
-    gboolean has_replaygain;
-    double replaygain_album_scale;  // -1 if not set
+    double replaygain_album_scale;
     double replaygain_track_scale;
     gchar *replaygain_album_str;
     gchar *replaygain_track_str;
-    double replaygain_album_peak;   // -1 if not set
-    double replaygain_track_peak;
+    double replaygain_album_peak; /* 0 if gain/peak pair not set */
+    double replaygain_track_peak; /* 0 if gain/peak pair not set */
     gchar *replaygain_album_peak_str;
     gchar *replaygain_track_peak_str;
     double mp3gain_undo;        // -1 if not set