Drop the HRTF source and cache options
The kernel renders the Rosella .personalized_headphone model or an already compiled .jochrtf field, and only the first is a user-facing input: the SOFA reader and its compile cache left the library. joc-hrtf-source, joc-hrtf-cache and joc-hrtf-cache-dir go with them, and the default file is now binaural.personalized_headphone only. The plugin sets personalized_headphone_path directly, and the disk-cache retry path disappears with the cache itself. The headers in third_party/joc/include and fork/files/audio/decode follow the new kernel, so the config structs no longer carry hrtf_sofa_path, hrtf_cache_policy, hrtf_cache_dir or hrtf_radius_m, and the rosella filterbank no longer needs its SOFA exception. The example config and the option tables in both READMEs drop the removed keys. Builds against the kernel with tools/build.ps1 -JocCoreSource.
This commit is contained in:
1 parent
0b94c75fd6
commit
19b4a49407
12 files changed
+25
-160
No files matched your search
@@ -2,9 +2,9 @@
|
||||
#
|
||||
# 所有键都在 mpv 自己的 --script-opts 命名空间里,前缀 joc-。
|
||||
# 只有一行也可以:
|
||||
# script-opts=joc-output=binaural,joc-hrtf-source=sofa
|
||||
# script-opts=joc-output=binaural
|
||||
#
|
||||
script-opts=joc-output=binaural,joc-hrtf-source=sofa,joc-mode=mid,joc-gain-db=0
|
||||
script-opts=joc-output=binaural,joc-mode=mid,joc-gain-db=0
|
||||
|
||||
# 想让插件强制走 WASAPI(默认 auto:不动 mpv 的 ao 选择):
|
||||
# script-opts-append=joc-wasapi=yes
|
||||
@@ -19,7 +19,6 @@ script-opts=joc-output=binaural,joc-hrtf-source=sofa,joc-mode=mid,joc-gain-db=0
|
||||
# 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 定点:
|
||||
|
||||
Reference in new issue
Block a user