Address comments

This commit is contained in:
Bond_009 2024-04-28 17:16:33 +02:00
parent 88a38a61b5
commit 2ad872001d
3 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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; }

View File

@ -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>