Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 675:1ea4cfb007e0 | 676:1733b12ef974 |
|---|---|
| 111 audmad_config.sjis = FALSE; | 111 audmad_config.sjis = FALSE; |
| 112 audmad_config.hard_limit = FALSE; | 112 audmad_config.hard_limit = FALSE; |
| 113 audmad_config.replaygain.enable = TRUE; | 113 audmad_config.replaygain.enable = TRUE; |
| 114 audmad_config.replaygain.track_mode = FALSE; | 114 audmad_config.replaygain.track_mode = FALSE; |
| 115 audmad_config.title_override = FALSE; | 115 audmad_config.title_override = FALSE; |
| 116 audmad_config.show_avg_vbr_bitrate = TRUE; | |
| 116 | 117 |
| 117 db = bmp_cfg_db_open(); | 118 db = bmp_cfg_db_open(); |
| 118 if (db) { | 119 if (db) { |
| 119 bmp_cfg_db_get_bool(db, "MAD", "fast_play_time_calc", | 120 bmp_cfg_db_get_bool(db, "MAD", "fast_play_time_calc", |
| 120 &audmad_config.fast_play_time_calc); | 121 &audmad_config.fast_play_time_calc); |
| 134 &audmad_config.replaygain.default_db); | 135 &audmad_config.replaygain.default_db); |
| 135 bmp_cfg_db_get_bool(db, "MAD", "title_override", | 136 bmp_cfg_db_get_bool(db, "MAD", "title_override", |
| 136 &audmad_config.title_override); | 137 &audmad_config.title_override); |
| 137 bmp_cfg_db_get_string(db, "MAD", "id3_format", | 138 bmp_cfg_db_get_string(db, "MAD", "id3_format", |
| 138 &audmad_config.id3_format); | 139 &audmad_config.id3_format); |
| 140 bmp_cfg_db_get_bool(db, "MAD", "show_avg_vbr_bitrate", | |
| 141 &audmad_config.show_avg_vbr_bitrate); | |
| 139 | 142 |
| 140 bmp_cfg_db_close(db); | 143 bmp_cfg_db_close(db); |
| 141 } | 144 } |
| 142 | 145 |
| 143 mad_mutex = g_mutex_new(); | 146 mad_mutex = g_mutex_new(); |
