浏览代码

If 7.1 is selected, also allow 5.1 and stereo

The player will select the "best" layout out of a ","-separated list.
Make the 7.1 preset include 5.1 and stereo, and the 5.1 preset include
stereo.

This works only as far as the underlying audio APIs allow it. For
example, OSX to our knowledge always enforces a single multichannel
layout, so you can send e.g. only native 7.1 or 5.1 upmixed to 7.1.

This requires reasonably recent deps (libmpv changes).
Vincent Lang 8 年之前
父节点
当前提交
e2c235b945
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/settings/settings_description.json

+ 2 - 2
resources/settings/settings_description.json

@@ -138,8 +138,8 @@
         "possible_values": [
           [ "auto", "audio.auto" ],
           [ "2.0", "audio.stereo" ],
-          [ "5.1", "audio.51" ],
-          [ "7.1", "audio.71" ]
+          [ "5.1,2.0", "audio.51" ],
+          [ "7.1,5.1,2.0", "audio.71" ]
         ]
       },
       {