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.
This commit is contained in:
1 parent
0d8ccbf5cd
commit
27aa8881f4
6 files changed
+54
-22
No files matched your search
@@ -97,8 +97,9 @@ typedef struct joc_stream_status_info {
|
||||
uint64_t oamd_payloads;
|
||||
uint64_t oamd_transitions;
|
||||
/* Metadata the renderer had to work around, per audio frame: no JOC payload at
|
||||
* all, a declared object count clamped to 15, and a syncframe carrying a second
|
||||
* EMDF container that is not this frame's JOC metadata. */
|
||||
* all, an ID14 payload that ends inside joc_data (that frame holds the previous
|
||||
* matrices), a declared object count clamped to 15, and a syncframe carrying a
|
||||
* second EMDF container that is not this frame's JOC metadata. */
|
||||
uint64_t missing_joc_frames;
|
||||
uint64_t objects_clamped_frames;
|
||||
uint64_t extra_container_frames;
|
||||
@@ -108,6 +109,9 @@ typedef struct joc_stream_status_info {
|
||||
uint64_t bed_mask_mismatch_frames;
|
||||
uint32_t output_channels;
|
||||
uint32_t ended; /* 1 after flush() */
|
||||
/* Appended field: joc_stream_status() accepts the size that ends at `ended`
|
||||
* as well, so a caller built against the previous header keeps working. */
|
||||
uint64_t truncated_joc_frames;
|
||||
} joc_stream_status_info;
|
||||
|
||||
JOC_API joc_error JOC_CALL joc_stream_create(const joc_stream_config* config, joc_stream** out);
|
||||
|
||||
Reference in new issue
Block a user