Spatial Audio: Improve Head-Tracking prediction
1) Add LEAST_SQUARES pose prediction. Define 3 types of prediction: LAST, TWIST, and LEAST_SQUARES. Furthermore, add a 4th AUTO prediction type to automatically choose between the 3 (currently always selects LEAST_SQUARES). 2) Add Verification of pose prediction, Enabled on userdebug and eng builds. Prediction checked for 50ms, 100ms, 200ms look-ahead. 3) Add 2 properties for predictor control audio.spatializer.pose_predictor_type // Example: 0 == AUTO, 1 == LAST, // 2 == TWIST, 3 == LEAST_SQUARES audio.spatializer.prediction_duration_ms // Example: 50 or 150 4) By default Use the new LEAST_SQUARES predictor. (Old was TWIST) Increase prediction_duration_ms from 50ms to 120ms. Test: adb shell dumpsys media.audio_policy Test: atest libheadtracking-test Test: adb shell setprop on properties. Test: force user / eng compilation modes Bug: 270763710 Change-Id: I13662df10bc06480f336bb894fddd83e09c03c7e
Loading
Please register or sign in to comment