Address comments

pull/11457/head
Bond_009 3 weeks ago
parent 88a38a61b5
commit 2ad872001d

@ -900,6 +900,7 @@ namespace Emby.Server.Implementations.Dto
if (item.LUFS.HasValue)
{
// -18 LUFS reference, same as ReplayGain 2.0, compatible with ReplayGain 1.0
dto.NormalizationGain = -18f - item.LUFS;
}
else if (item.NormalizationGain.HasValue)

@ -140,7 +140,7 @@ namespace MediaBrowser.Controller.Entities
/// <summary>
/// Gets or sets the gain required for audio normalization.
/// </summary>
/// <value>The gain required for audio normalization..</value>
/// <value>The gain required for audio normalization.</value>
[JsonIgnore]
public float? NormalizationGain { get; set; }

@ -784,7 +784,7 @@ namespace MediaBrowser.Model.Dto
/// <summary>
/// Gets or sets the gain required for audio normalization.
/// </summary>
/// <value>The gain required for audio normalization..</value>
/// <value>The gain required for audio normalization.</value>
public float? NormalizationGain { get; set; }
/// <summary>

Loading…
Cancel
Save