Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38cc022c authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Spatializer: forward display rotation to engine am: 16ddaf4a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15852975

Change-Id: Iecd8a9d77d1fec2df7989d8373ab77eb64c328b8
parents c74eba8e 16ddaf4a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -485,6 +485,10 @@ Status Spatializer::setDisplayOrientation(float physicalToLogicalAngle) {
    if (mPoseController != nullptr) {
        mPoseController->setDisplayOrientation(mDisplayOrientation);
    }
    if (mEngine != nullptr) {
        setEffectParameter_l(
            SPATIALIZER_PARAM_DISPLAY_ORIENTATION, std::vector<float>{physicalToLogicalAngle});
    }
    return Status::ok();
}