Files
mpv-joc/config/cplugin-mpv.conf.example
T
TheM14 ecf14d8c32 Sync the Rosella filterbank choice into the plugin and the fork
The kernel can now render the Rosella path through either bank; expose
that choice in both front ends with the same values and the same
default.

- plugin: joc-rosella-filterbank = 1|2 (public|captured); unset means
  the kernel default (the public bank), and it applies only to
  joc-hrtf-source=rosella, logging a warning otherwise
- fork: --ad-joc-rosella-filterbank, the same values and default; it
  sits in the ad_joc option group, so it is read only when ad_joc
  decodes a Rosella model
- log the bank actually selected (public|captured) on both paths
- add a bank-2 case to tools/verify_parity.ps1
- document the key in both READMEs and the example config

Checked: the plugin builds, the option parser covers the numeric and
named spellings plus invalid values, and for both banks the plugin's
PCM is bit-identical to joc_cli with --rosella-filterbank 1|2.
2026-10-31 02:29:23 +08:00

30 lines
1.1 KiB
Plaintext

# mpv-joc 配置示例:整段放进 mpv.conf 即可。
#
# 所有键都在 mpv 自己的 --script-opts 命名空间里,前缀 joc-。
# 只有一行也可以:
# script-opts=joc-output=binaural,joc-hrtf-source=sofa
#
script-opts=joc-output=binaural,joc-hrtf-source=sofa,joc-mode=mid,joc-gain-db=0
# 想让插件强制走 WASAPI(默认 auto:不动 mpv 的 ao 选择):
# script-opts-append=joc-wasapi=yes
# WASAPI 独占模式:
# script-opts-append=joc-exclusive=yes
#
# 扬声器布局示例(替换上面的 joc-output / joc-layout):
# script-opts-append=joc-output=speaker
# script-opts-append=joc-layout=7.1
#
# 指定 HRTF 文件(默认找 <mpv>\HRTF\binaural.sofa):
# script-opts-append=joc-hrtf=D:/hrtf/MyMeasurements.sofa
#
# Rosella 模型用捕获版滤波器组(与参考渲染器一致;默认 1 = 公开版):
# script-opts-append=joc-hrtf-source=rosella
# script-opts-append=joc-rosella-filterbank=2
#
# 交付 24bit 定点:
# script-opts-append=joc-int24=yes
#
# 排错:把每个 HTTP 请求与跳转写进 joc_decoder.log
# script-opts-append=joc-verbose=yes