diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-03-15 23:29:20 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-03-15 23:29:20 +0000 |
commit | 9e38781b780ee2d0f4a6786106757a90be632f08 (patch) | |
tree | 55f9eabf5a398051bab56d8a9f42cdc8d5f22493 | |
parent | 004bf40729c3c0e41b498ae0a50992cdc29b7e51 (diff) | |
parent | 28c0e60414056c26a936ed8ea13753b42c1b9d28 (diff) | |
download | media-9e38781b780ee2d0f4a6786106757a90be632f08.tar.gz |
Snap for 9752887 from 28c0e60414056c26a936ed8ea13753b42c1b9d28 to tm-qpr3-releaseandroid-13.0.0_r83android-13.0.0_r79android-13.0.0_r78android-13.0.0_r77android-13.0.0_r76android-13.0.0_r75android-13.0.0_r71android-13.0.0_r70android-13.0.0_r69android-13.0.0_r68android-13.0.0_r67android-13.0.0_r63android-13.0.0_r62android-13.0.0_r61android-13.0.0_r56android-13.0.0_r54android-13.0.0_r53android-13.0.0_r52android-13.0.0_r51android-13.0.0_r50android13-qpr3-s9-releaseandroid13-qpr3-s8-releaseandroid13-qpr3-s7-releaseandroid13-qpr3-s6-releaseandroid13-qpr3-s5-releaseandroid13-qpr3-s4-releaseandroid13-qpr3-s3-releaseandroid13-qpr3-s2-releaseandroid13-qpr3-s14-releaseandroid13-qpr3-s13-releaseandroid13-qpr3-s12-releaseandroid13-qpr3-s11-releaseandroid13-qpr3-s10-releaseandroid13-qpr3-s1-releaseandroid13-qpr3-release
Change-Id: I3f77657a32c2a91673fac60ffa0cf0b8a98cccd0
-rw-r--r-- | audio/include/system/audio_effects/effect_spatializer.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/audio/include/system/audio_effects/effect_spatializer.h b/audio/include/system/audio_effects/effect_spatializer.h index 2f853ea7..971d0e3c 100644 --- a/audio/include/system/audio_effects/effect_spatializer.h +++ b/audio/include/system/audio_effects/effect_spatializer.h @@ -47,8 +47,27 @@ typedef enum SPATIALIZER_PARAM_HEAD_TO_STAGE, // foldable device hinge angle as a float value in rad SPATIALIZER_PARAM_HINGE_ANGLE, - // Display orientation as a float value in rad + + // The default display orientation as reported by DisplayManager. + // + // The DisplayManager reports 0, 90, 180, 270 degrees, + // here it is reported as a float value in radians. + // Only 4 values 0, PI/2, PI, 3PI/2 will be sent as of Android 14 (U). + // Due to precision, compare with an epsilon range, suggest + // rounding to the nearest integer degree for practical use. + // + // Notes: + // 1) A device may have more than one display. + // 2) A display may be locked which prevents the application from rotating. SPATIALIZER_PARAM_DISPLAY_ORIENTATION, + + // The fold state as reported by DeviceStateManager for a foldable. + // This is an integer value of either 0 (open) or 1 (folded). + // + // The device fold state may affect which display is active (if any). + // The open/closed logical state differs than the hinge angle, + // which may be reported by a hinge sensor. + SPATIALIZER_PARAM_FOLD_STATE, } t_virtualizer_stage_params; // See SpatializationLevel.aidl |