mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
BugFix : Change peak value to normalize audio file with fallback gain
https://bugzilla.gnome.org/show_bug.cgi?id=673970
This commit is contained in:
parent
5b8e775d1c
commit
36e49fd6f8
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ gst_rg_volume_determine_gain (GstRgVolume * self, gdouble * target_gain,
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "using fallback gain");
|
GST_DEBUG_OBJECT (self, "using fallback gain");
|
||||||
gain = self->fallback_gain;
|
gain = self->fallback_gain;
|
||||||
peak = 1.0;
|
peak = 0.000001;
|
||||||
|
|
||||||
} else if ((self->album_mode && self->has_album_gain)
|
} else if ((self->album_mode && self->has_album_gain)
|
||||||
|| (!self->album_mode && !self->has_track_gain)) {
|
|| (!self->album_mode && !self->has_track_gain)) {
|
||||||
|
|
Loading…
Reference in a new issue