From ea67e80c1531060dd1eb5b7ffa73c1476c088221 Mon Sep 17 00:00:00 2001 From: mackie100 <37126690+mackie100@users.noreply.github.com> Date: Wed, 29 Dec 2021 20:16:17 +0100 Subject: [PATCH] Added AudioOutMask and DisconnectHda keys and descriptions, updated some descriptions @Eugene-grb @bluehomewu @btwise @droofy @sebaprawilnie @socialskyo --- .../Internal/Localizable.strings | 5 +++++ .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | Bin 179376 -> 183946 bytes .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | 9 +++++++-- .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | 9 +++++++-- .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | 9 +++++++-- .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | 9 +++++++-- .../Sections/uefiController.strings | 6 ++++++ .../Internal/Localizable.strings | 9 +++++++-- .../Sections/uefiController.strings | 6 ++++++ 14 files changed, 82 insertions(+), 10 deletions(-) diff --git a/Chinese, Simplified Localization (zh-Hans)/Internal/Localizable.strings b/Chinese, Simplified Localization (zh-Hans)/Internal/Localizable.strings index da4a5390..b8660167 100644 --- a/Chinese, Simplified Localization (zh-Hans)/Internal/Localizable.strings +++ b/Chinese, Simplified Localization (zh-Hans)/Internal/Localizable.strings @@ -1560,6 +1560,9 @@ /* UrW-oc-0Oc */ "TT_AudioOut" = "指定编解码器输出端口的索引,一般从0开始.\n\n找到正确端口的最快方法是将值从0暴力尝试到N-1,N是在日志里显示的输出端口索引数,比如日志里显示有3个输出,可以从0-2挨个试."; +"TT_AudioOutMask" = "Type: plist integer\nFailsafe: -1\nDescription: Bit field indicating which output channels to use for UEFI sound.\n\nAudio mask is 1 « audio output (equivalently 2 ˆ audio output). E.g. for audio output 0 the bitmask is 1, for output 3 it is 8, and for outputs 0 and 3 it is 9.\n\nThe number of available output nodes (N) for each HDA codec is shown in the debug log (marked in bold-italic), audio outputs 0 to N - 1 may be selected:\nOCAU: 1/3 PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/VenMsg(,00000000) (4 outputs)\nOCAU: 2/3 PciRoot(0x0)/Pci(0x3,0x0)/VenMsg(,00000000) (1 outputs)\nOCAU: 3/3 PciRoot(0x0)/Pci(0x1B,0x0)/VenMsg(,02000000) (7 outputs)\n\nWhen AudioDxe is used then additional information about each output channel is logged during driver binding, including the bitmask for each output. The bitmask values for the desired outputs should be added together to obtain the AudioOutMask value:\nHDA: | Port widget @ 0x9 is an output (pin defaults 0x2B4020) (bitmask 1)\nHDA: | Port widget @ 0xA is an output (pin defaults 0x90100112) (bitmask 2)\nHDA: | Port widget @ 0xB is an output (pin defaults 0x90100110) (bitmask 4)\nHDA: | Port widget @ 0x10 is an output (pin defaults 0x4BE030) (bitmask 8)\n\nFurther information on the available output channels may be found from a Linux codec dump using the command: +cat /proc/asound/card{n}/codec#{m}\n\nUsing AudioOutMask, it is possible to play sound to more than one channel (e.g. main speaker plus bass speaker; headphones plus speakers) as long as all the chosen outputs support the sound file format in use; if any do not then no sound will play and a warning will be logged.\n\nWhen all available output channels on the codec support the available sound file format, then a value of -1 will play sound to all channels simultaneously. If this does not work, it will usually be quickest to try each available output channel one by one, in order to work out which channel(s) to use."; + /* PF5-bc-9Z2 */ "TT_MinimumVolume" = "最小音量从0到100.\n\n当计算出的音量级别小于MinimumVolume时,屏幕阅读器将使用此音量级别.如果计算出的音量小于MinimumVolume,则不会发出开机提示音."; @@ -1578,6 +1581,8 @@ /* 4mo-Ut-bYl */ "TT_ResetTrafficClass" = "将HDA流量等级选择寄存器设置为TC0.\n\n仅当TCSEL寄存器配置为使用TC0流量等级时,AppleHDA kext才能正常运行. 有关此寄存器的更多详细信息,请参阅英特尔I/O控制器9(ICH9)数据表(或任何其他ICH数据表).\n\n注意:此选项独立于AudioSupport. 如果使用AppleALC,则最好改用AppleALC alctsel属性."; +"TT_DisconnectHda" = "Type: plist boolean\nFailsafe: false\nDescription: Disconnect HDA controller before loading drivers.\n\nMay be required on some systems (e.g. Apple hardware, VMware Fusion guest) to allow a UEFI sound driver (such as AudioDxe) to take control of the audio hardware."; + /* Drivers */ /* 6zo-Jl-Ryl */ "TT_uefi_driversTable" = "1.Path\n从 OC/Drivers 目录作为 UEFI 驱动程序加载的文件路径.\n2. Enabled\n如果为 false,此驱动程序条目将被忽略.\n3. Arguments\n一些 OC 插件接受可选的附加参数,可以在此处指定为字符串."; diff --git a/Chinese, Simplified Localization (zh-Hans)/Sections/uefiController.strings b/Chinese, Simplified Localization (zh-Hans)/Sections/uefiController.strings index 91d02d89..770dbc8b 100644 --- a/Chinese, Simplified Localization (zh-Hans)/Sections/uefiController.strings +++ b/Chinese, Simplified Localization (zh-Hans)/Sections/uefiController.strings @@ -14,6 +14,9 @@ /* Class = "NSTextFieldCell"; title = "TimerResolution"; ObjectID = "3Ql-TM-Oiv"; */ "3Ql-TM-Oiv.title" = "TimerResolution"; +/* Class = "NSButtonCell"; title = "DisconnectHda"; ObjectID = "3Sg-0T-21K"; */ +"3Sg-0T-21K.title" = "DisconnectHda"; + /* Class = "NSTableColumn"; headerCell.title = "Comment"; ObjectID = "4ew-tO-Ops"; */ "4ew-tO-Ops.headerCell.title" = "注释\nComment"; @@ -179,6 +182,9 @@ /* Class = "NSButtonCell"; title = "AudioSupport"; ObjectID = "oT1-Q2-rhc"; */ "oT1-Q2-rhc.title" = "AudioSupport"; +/* Class = "NSTextFieldCell"; title = "AudioOutMask"; ObjectID = "r2Q-7P-fO6"; */ +"r2Q-7P-fO6.title" = "AudioOutMask"; + /* Class = "NSTabViewItem"; label = "Input"; ObjectID = "tiX-oG-c7h"; */ "tiX-oG-c7h.label" = "Apple快捷键相关"; diff --git a/Chinese, Traditional Localization (zh-Hant)/Internal/Localizable.strings b/Chinese, Traditional Localization (zh-Hant)/Internal/Localizable.strings index 44e6ff89c4ea1098546e8b6ff2c14fccb12d8c03..c48eb86088b757093ee9532fb953435ba24c4a08 100644 GIT binary patch delta 3451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