diff src/madplug/plugin.c @ 676:1733b12ef974 trunk

[svn] - show dynamic bitrate for vbr is off by default. now it is configurable from preferences.
author yaz
date Mon, 19 Feb 2007 19:39:42 -0800
parents fadf4c18a1cf
children 6ea974a229a8
line wrap: on
line diff
--- a/src/madplug/plugin.c	Mon Feb 19 18:53:25 2007 -0800
+++ b/src/madplug/plugin.c	Mon Feb 19 19:39:42 2007 -0800
@@ -113,6 +113,7 @@
     audmad_config.replaygain.enable = TRUE;
     audmad_config.replaygain.track_mode = FALSE;
     audmad_config.title_override = FALSE;
+    audmad_config.show_avg_vbr_bitrate = TRUE;
 
     db = bmp_cfg_db_open();
     if (db) {
@@ -136,6 +137,8 @@
                             &audmad_config.title_override);
         bmp_cfg_db_get_string(db, "MAD", "id3_format",
                               &audmad_config.id3_format);
+        bmp_cfg_db_get_bool(db, "MAD", "show_avg_vbr_bitrate",
+                            &audmad_config.show_avg_vbr_bitrate);
 
         bmp_cfg_db_close(db);
     }