mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Address comments
This commit is contained in:
parent
88a38a61b5
commit
2ad872001d
@ -900,6 +900,7 @@ namespace Emby.Server.Implementations.Dto
|
|||||||
|
|
||||||
if (item.LUFS.HasValue)
|
if (item.LUFS.HasValue)
|
||||||
{
|
{
|
||||||
|
// -18 LUFS reference, same as ReplayGain 2.0, compatible with ReplayGain 1.0
|
||||||
dto.NormalizationGain = -18f - item.LUFS;
|
dto.NormalizationGain = -18f - item.LUFS;
|
||||||
}
|
}
|
||||||
else if (item.NormalizationGain.HasValue)
|
else if (item.NormalizationGain.HasValue)
|
||||||
|
@ -140,7 +140,7 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the gain required for audio normalization.
|
/// Gets or sets the gain required for audio normalization.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The gain required for audio normalization..</value>
|
/// <value>The gain required for audio normalization.</value>
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public float? NormalizationGain { get; set; }
|
public float? NormalizationGain { get; set; }
|
||||||
|
|
||||||
|
@ -784,7 +784,7 @@ namespace MediaBrowser.Model.Dto
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the gain required for audio normalization.
|
/// Gets or sets the gain required for audio normalization.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The gain required for audio normalization..</value>
|
/// <value>The gain required for audio normalization.</value>
|
||||||
public float? NormalizationGain { get; set; }
|
public float? NormalizationGain { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user