From 36e49fd6f872f0b3f33083107a55fb7f671a47d0 Mon Sep 17 00:00:00 2001 From: Anthony Violo Date: Thu, 12 Apr 2012 09:53:24 +0200 Subject: [PATCH] BugFix : Change peak value to normalize audio file with fallback gain https://bugzilla.gnome.org/show_bug.cgi?id=673970 --- gst/replaygain/gstrgvolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/replaygain/gstrgvolume.c b/gst/replaygain/gstrgvolume.c index 7c4f2811ea..13267841b3 100644 --- a/gst/replaygain/gstrgvolume.c +++ b/gst/replaygain/gstrgvolume.c @@ -645,7 +645,7 @@ gst_rg_volume_determine_gain (GstRgVolume * self, gdouble * target_gain, GST_DEBUG_OBJECT (self, "using fallback gain"); gain = self->fallback_gain; - peak = 1.0; + peak = 0.000001; } else if ((self->album_mode && self->has_album_gain) || (!self->album_mode && !self->has_track_gain)) {