From d5d6e6cfdd4030052bc0b8dfc85739614a80a714 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 15 May 2018 10:35:09 +0100 Subject: [PATCH] Revert "BugFix : Change peak value to normalize audio file with fallback gain" This reverts commit 36e49fd6f872f0b3f33083107a55fb7f671a47d0. Breaks unit test, someone needs to investigate if it's the patch's fault or if the test needs adjusting/updating. 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 1326784..7c4f281 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 = 0.000001; + peak = 1.0; } else if ((self->album_mode && self->has_album_gain) || (!self->album_mode && !self->has_track_gain)) { -- 2.7.4