Compile the fork decoder against the kernel that takes one HRTF input
ad_joc.c still asked the stream config for hrtf_sofa_path, hrtf_cache_dir and hrtf_cache_policy, which the kernel no longer has; the same file is compiled by the Windows and the Android build, so both stopped there. The decoder now recognises only the Rosella model -- a JSON file containing a personalized_hrtf object -- and passes its path to personalized_headphone_path. The SOFA magic sniffing, the .jochrtf extension branch, the default cache directory and the disk-cache retry path are gone, the default lookup is HRTF/binaural.personalized_headphone, and the format warning for the frame length uses %zu. The README, the fork docs and the example configs name the model file instead of binaural.sofa.
This commit is contained in:
1 parent
19b4a49407
commit
a2471ce502
8 files changed
+26
-83
No files matched your search
@@ -8,7 +8,7 @@ ad-joc-binaural = yes
|
||||
|
||||
# HRTF input: SOFA, a Rosella .personalized_headphone, or a compiled .jochrtf.
|
||||
# The kind is detected from the file, so do not name it here.
|
||||
# Leave empty to search <mpv.exe>/HRTF/binaural.sofa, then the same names under
|
||||
# Leave empty to search <mpv.exe>/HRTF/binaural.personalized_headphone, then the same name under
|
||||
# the mpv config dir.
|
||||
ad-joc-hrtf =
|
||||
|
||||
@@ -34,4 +34,4 @@ ad-joc-int24 = no
|
||||
|
||||
# Android: there is no executable directory to search, so ad-joc-hrtf must be
|
||||
# a full path the app can read.
|
||||
# ad-joc-hrtf = /sdcard/Download/binaural.sofa
|
||||
# ad-joc-hrtf = /sdcard/Download/binaural.personalized_headphone
|
||||
Reference in new issue
Block a user