diff options
author | David Bryant <david@wavpack.com> | 2010-05-26 21:40:28 -0700 |
---|---|---|
committer | Martin Bagge / brother (or Pootle...) <brother@bsnet.se> | 2010-05-28 15:01:20 +0200 |
commit | 291e5760eede7783217a214334f1beb8e134193f (patch) | |
tree | 4044208e4c641358660741a765e67e5c46d8867e /plugins/gtkui/trkproperties.c | |
parent | 87e5ec94cb9ae466e3222a22c6adfeaa4efba305 (diff) |
fix for inconsistent use of replaygain_xxxxx_gain field and incorrect handling of replaygain peak scale option
Diffstat (limited to 'plugins/gtkui/trkproperties.c')
-rw-r--r-- | plugins/gtkui/trkproperties.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index d122b3cf..cea21d6f 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -180,14 +180,14 @@ trkproperties_fill_metadata (void) { gtk_list_store_set (propstore, &iter, 0, _("Embedded Cuesheet"), 1, (deadbeef->pl_get_item_flags (track) & DDB_HAS_EMBEDDED_CUESHEET) ? _("Yes") : _("No"), -1); gtk_list_store_append (propstore, &iter); - snprintf (temp, sizeof (temp), "%0.2f dB", amp_to_db (track->replaygain_album_gain)); + snprintf (temp, sizeof (temp), "%0.2f dB", track->replaygain_album_gain); gtk_list_store_set (propstore, &iter, 0, "REPLAYGAIN_ALBUM_GAIN", 1, temp, -1); gtk_list_store_append (propstore, &iter); snprintf (temp, sizeof (temp), "%0.6f", track->replaygain_album_peak); gtk_list_store_set (propstore, &iter, 0, "REPLAYGAIN_ALBUM_PEAK", 1, temp, -1); gtk_list_store_append (propstore, &iter); - snprintf (temp, sizeof (temp), "%0.2f dB", amp_to_db (track->replaygain_track_gain)); + snprintf (temp, sizeof (temp), "%0.2f dB", track->replaygain_track_gain); gtk_list_store_set (propstore, &iter, 0, "REPLAYGAIN_TRACK_GAIN", 1, temp, -1); gtk_list_store_append (propstore, &iter); snprintf (temp, sizeof (temp), "%0.6f", track->replaygain_track_peak); |