소스 검색

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" ]
         ]
       },
       {