Sync the 1.3.1 kernel and read the stream until its first JOC frame
The kernel copy follows JustOneCacophonyCXX 1.3.1: a frame without JOC metadata mid-stream now holds the previous matrices instead of switching to the core planes, which removes the clicks the 6.0 kernels produced on encoders that drop the JOC metadata for single frames. resolve_bed_channels() called ReadFile once and scanned that single chunk. A read returns only the bytes that are available (a pipe hands over a partial chunk), and an encoder may leave the first audio frames without JOC metadata, so the first JOC frame could sit past the window. The scan then fell back to 6 bed channels, and the first JOC frame (joc_dmx_config_idx=1, 8 channels) was rejected with core_channel_count_mismatch. The scan now reads 64 KiB chunks until the first syncframe carrying the JOC EMDF container is seen, keeps the trailing partial frame between reads, and rewinds the stream as before; the container path and the bare-file path both use it. Bump the component version to 0.6.1, and pin the kernel notices to 1.3.1. Verified with the offline harness: the reported GNR M4A now reports "joc_dmx_config_idx=1 -> 8 bed channel(s)" and decodes the whole track (8906 frames), and the Smooth Criminal opening no longer steps at the two frames without metadata (6.016 s and 7.328 s).
This commit is contained in:
1 parent
886ff036cd
commit
5c0f9ea2ff
9 files changed
+87
-19
No files matched your search
@@ -5,9 +5,7 @@
|
||||
(`kernel/src/joc_bitstream/joc_huffman_tables.h`)的公开标准来源,以及 HRTF 数据与
|
||||
专利的边界说明。
|
||||
|
||||
`kernel/` 整体是 JustOneCacophonyCXX 在提交
|
||||
`abce8465f8edda3356738e1a1db7cb1b33191c72`(版本号 1.3.0)的逐字副本;
|
||||
`v1.2.0` tag 指向更早的提交 a276028,不作为同步基准。
|
||||
`kernel/` 整体是 JustOneCacophonyCXX 1.3.1 的逐字副本。
|
||||
|
||||
## 公开标准来源
|
||||
|
||||
|
||||
Reference in new issue
Block a user