Port the Python reference ADM metadata change. The ADM export path now parses the full OAMD frame state, so the same block-0 render state the speaker renderer consumes is available to the trajectory builder. adm::ObjectMetadata (gain, width/depth/height size, divergence, snap) is attached to Keyframe and OamdEvent. TrajectoryBuilder updates the per-object state from frame_state, emits an event when position or metadata changes, and both compact and dense64 expansion modes carry the snapshot into every ADM block. The state is held across frames without a payload; inactive objects write gain 0. Divergence is taken from the current payload (0 when the extended element does not carry it), matching the speaker renderer instead of holding a stale value. build_axml writes width/height/depth (relative 0..1), gain in linear units and objectDivergence positionRange, omitting defaults. The ADM path requests parse_id11_state() so frame_state is populated. test_core adds coverage for the AXML fields and for the trajectory metadata and divergence reset. Bump JOC_VERSION to 1.3.2.
17 lines
566 B
C
17 lines
566 B
C
/* Product version of joc_core and joc_cli.
|
|
*
|
|
* This file is the single source of truth: CMakeLists.txt reads these numbers for
|
|
* project(VERSION ...), joc_version_string() returns JOC_VERSION_STRING, and the
|
|
* release workflow refuses a tag that does not match it. Bump the three numbers
|
|
* and the string together, then tag the commit with v<JOC_VERSION_STRING>.
|
|
*/
|
|
#ifndef JOC_VERSION_H
|
|
#define JOC_VERSION_H
|
|
|
|
#define JOC_VERSION_MAJOR 1
|
|
#define JOC_VERSION_MINOR 3
|
|
#define JOC_VERSION_PATCH 2
|
|
#define JOC_VERSION_STRING "1.3.2"
|
|
|
|
#endif /* JOC_VERSION_H */
|