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.
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
# ad_joc: E-AC-3 JOC through the JustOneCacophony renderer.
|
|
# Copy the lines you need into mpv.conf; all of them are ordinary mpv options.
|
|
|
|
ad = joc
|
|
|
|
# Binaural (stereo) output. On by default; "no" renders the speaker layout below.
|
|
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.personalized_headphone, then the same name under
|
|
# the mpv config dir.
|
|
ad-joc-hrtf =
|
|
|
|
# Speaker layout, used when ad-joc-binaural=no (and as the fallback when no
|
|
# HRTF can be found; mpv then downmixes it to whatever the device wants).
|
|
# 2.0 3.1 4.0 5.1 7.1 5.1.2 5.1.4 7.1.2 7.1.4 9.1.4 9.1.6
|
|
ad-joc-layout = 7.1
|
|
|
|
# Binaural rendering mode: near | mid | far.
|
|
ad-joc-mode = mid
|
|
|
|
# Rosella input only: which filterbank the renderer uses. 1 = the public bank
|
|
# (13 taps / 6 slots, the default), 2 = the captured bank (11 taps / 3 slots)
|
|
# that matches the reference renderer. Ignored for SOFA and .jochrtf input.
|
|
ad-joc-rosella-filterbank = 1
|
|
|
|
# Extra gain in dB (-60 .. 12).
|
|
ad-joc-gain-db = 0
|
|
|
|
# Quantise the output to the renderer's 24-bit rule (the same truncation
|
|
# the renderer's own frontends deliver in int24 mode). Off = plain float32.
|
|
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.personalized_headphone
|