diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2023-01-02 22:26:54 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2023-01-10 15:29:39 +0100 |
| commit | 407c716f82da25fa5ffe30a819ea1adb5c6873ab (patch) | |
| tree | 9b865f4b64642809187af29202bac422040e7da8 /MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs | |
| parent | 223aaec93fd193284fce6e25bf49e596bce8db4d (diff) | |
Add stereo downmix algorithm selection.
Diffstat (limited to 'MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/DownMixStereoAlgorithms.cs | 23 |
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 +} |
