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

Commit 16ddaf4a authored by Eric Laurent's avatar Eric Laurent
Browse files

Spatializer: forward display rotation to engine

Forward display rotation to spatializer engine for
use by transaural mode.

Bug: 188502620
Test: make
Change-Id: I15f5c06d52b414600a3370906ac5d66183d4f243
parent f690c468
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -485,6 +485,10 @@ Status Spatializer::setDisplayOrientation(float physicalToLogicalAngle) {
    if (mPoseController != nullptr) {
    if (mPoseController != nullptr) {
        mPoseController->setDisplayOrientation(mDisplayOrientation);
        mPoseController->setDisplayOrientation(mDisplayOrientation);
    }
    }
    if (mEngine != nullptr) {
        setEffectParameter_l(
            SPATIALIZER_PARAM_DISPLAY_ORIENTATION, std::vector<float>{physicalToLogicalAngle});
    }
    return Status::ok();
    return Status::ok();
}
}