Commit Graph
8 Commits
Author SHA1 Message Date
TheM14 5fab3feac5 Update the kernel version to 1.3.1
Both copies of joc_version.h follow the main repository: third_party/joc/
include for the cplugin and fork/files/audio/decode for the ad_joc patch now
carry JOC_VERSION_STRING 1.3.1.  joc_core.h and joc_stream.h are unchanged, so
the public ABI stays at 6 and neither integration needs a code change.  The
kernel behaviour behind the version (a mid-stream frame without JOC metadata
holds the previous matrices instead of switching to the core planes) reaches
the builds through the main branch they compile against.

tools/verify_kernel.ps1 reports all three headers byte-identical to the 1.3.1
checkout.
2026-11-10 15:40:14 +08:00
TheM14 27aa8881f4 Update the kernel headers to 1.3.0
Both copies of the three public headers follow the main repository:
third_party/joc/include for the cplugin and fork/files/audio/decode for the
ad_joc patch now carry joc_core.h, joc_stream.h and joc_version.h from
JustOneCacophonyCXX abce846 (version 1.3.0).  The fix behind them turns an
ID14 payload that ends inside joc_data into a frame status (7) instead of a
stream error, so the renderer holds the previous matrices and playback
continues; joc_stream_status_info gains an appended truncated_joc_frames
field while JOC_ABI_VERSION stays at 6, so neither integration needs a code
change.

tools/verify_kernel.ps1 reports all three headers byte-identical to the
checkout.  tools/build.ps1 -JocCoreSource compiles joc_mpv.dll against the
synced headers and builds joc_core.dll from the fixed source; with that core
next to the portable mpv build, --ad=joc plays the reported M4A to the end
instead of stopping at 2:12.672.
2026-11-10 00:18:07 +08:00
TheM14 0d8ccbf5cd Update the kernel header to ABI 6
Both copies of joc_core.h follow the main repository: third_party/joc/include
for the cplugin and fork/files/audio/decode for the ad_joc patch now carry
JOC_ABI_VERSION 6, frame parameters and EMDF payload info at v2, the
JOC_FRAME_STATUS_* values and the calling convention chosen per platform.
joc_stream.h and joc_version.h are unchanged, so neither integration needs a
code change.

The plugin compares the loaded core's abi_version() with JOC_ABI_VERSION at
load time, so the vendored header has to match the new joc_core.dll.

Rebuilt against commit 3f0d5e87fe41b90d9350528d2dca2ca82a637a3f with
-DJOC_CORE_SOURCE: joc_mpv.dll and joc_core.dll build, the plugin compiles
against ABI 6, and the built joc_core.dll reports abi 6 / version 1.2.0.
2026-11-08 16:13:09 +08:00
TheM14 2a60931875 Update the kernel headers to 1.2.0
Both copies of joc_version.h follow the main repository: third_party/joc/
include for the cplugin and fork/files/audio/decode for the ad_joc patch
now carry JOC_VERSION_STRING 1.2.0. joc_core.h and joc_stream.h are
unchanged, so the public ABI stays at 5 and neither integration needs a
code change.

Rebuilt joc_core.dll from the 1.2.0 kernel with tools/build.ps1;
tools/verify_kernel.ps1 reports all three headers byte-identical, and
joc_cli.exe --version reports 1.2.0 (joc_core ABI 5). The warp and trim
behaviour arrives through the unchanged joc_stream surface.
2026-11-03 01:35:28 +08:00
TheM14 19b4a49407 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.
2026-11-01 19:38:41 +08:00
TheM14 a9cbffa1cf Synchronize the kernel headers with the upstream repository
The kernel replaced the reserved words with rosella_filterbank and
bumped the task config version to 4; joc_task_config and
joc_stream_config keep their sizes, so the ABI stays compatible.

- Update third_party/joc/include/joc_core.h and joc_stream.h
- Update the copies ad_joc compiles against in
  fork/files/audio/decode/

tools/verify_kernel.ps1 reports the public headers byte-identical to
the upstream checkout.
2026-10-31 02:29:01 +08:00
TheM14 c22fa692f8 Synchronize the kernel version headers with the upstream repository 2026-10-30 04:21:17 +08:00
TheM14 126e2cd233 Init mpv-joc 2026-10-18 21:31:38 +08:00