aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-08-01 20:05:18 +0200
committerGitHub <noreply@github.com>2024-08-01 20:05:18 +0200
commitf2e749548c2134db58785a68aa18e107d895d3b4 (patch)
tree1901b2a2ca48ede9f949b882fed338a33ca91060 /MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
parent623f9f6d8a3f6827a1ce23895f08b322c82199c4 (diff)
parent3788ccd447ffaa4638f3fe5d235c5bb92b809692 (diff)
Merge pull request #12354 from gnattu/ac-4-downmix
Add AC-4 downmix algorithm
Diffstat (limited to 'MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs')
-rw-r--r--MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs b/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
index be43ef32d..0c03d430d 100644
--- a/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
+++ b/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
@@ -1,8 +1,7 @@
namespace MediaBrowser.Model.Entities;
/// <summary>
-/// An enum representing an algorithm to downmix 6ch+ to stereo.
-/// Algorithms sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620.
+/// An enum representing an algorithm to downmix surround sound to stereo.
/// </summary>
public enum DownMixStereoAlgorithms
{
@@ -13,16 +12,24 @@ public enum DownMixStereoAlgorithms
/// <summary>
/// Algorithm by Dave_750.
+ /// Sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620.
/// </summary>
Dave750 = 1,
/// <summary>
/// Nightmode Dialogue algorithm.
+ /// Sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620.
/// </summary>
NightmodeDialogue = 2,
/// <summary>
/// RFC7845 Section 5.1.1.5 defined algorithm.
/// </summary>
- Rfc7845 = 3
+ Rfc7845 = 3,
+
+ /// <summary>
+ /// AC-4 standard algorithm with its default gain values.
+ /// Defined in ETSI TS 103 190 Section 6.2.17.
+ /// </summary>
+ Ac4 = 4
}