aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-01-12 09:49:29 +0100
committerGitHub <noreply@github.com>2023-01-12 09:49:29 +0100
commit3a7a781ed99b278dda931daaddb8a5e947a2ff69 (patch)
tree3b46fb07d97e32e14e8eaa154a59eb71cb2ec1ab /MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
parent81c8890b6d0f8b84dd52264d6c43e04dc130c79d (diff)
parent407c716f82da25fa5ffe30a819ea1adb5c6873ab (diff)
Merge pull request #9001 from Shadowghost/stereo-downmix
Fixes https://github.com/jellyfin/jellyfin/issues/1986
Diffstat (limited to 'MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs')
-rw-r--r--MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs b/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
new file mode 100644
index 000000000..385cd6a34
--- /dev/null
+++ b/MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs
@@ -0,0 +1,23 @@
+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.
+/// </summary>
+public enum DownMixStereoAlgorithms
+{
+ /// <summary>
+ /// No special algorithm.
+ /// </summary>
+ None = 0,
+
+ /// <summary>
+ /// Algorithm by Dave_750.
+ /// </summary>
+ Dave750 = 1,
+
+ /// <summary>
+ /// Nightmode Dialogue algorithm.
+ /// </summary>
+ NightmodeDialogue = 2
+}