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

Skip to content
Unverified Commit 35e70651 authored by BeYkeRYkt's avatar BeYkeRYkt Committed by Michael Bestas
Browse files

hal: msm8974: Use stereo recording depending on camera orientation

* The 4b084132 commit ("select camcorder snd device according to camera
  orientation") adds the ability to configure microphones depending on
  camera orientation. Use this option to select the desired device for stereo
  video recording depending on the orientation of the camera.
* Use SND_DEVICE_IN_SPEAKER_DMIC_STEREO for CAMERA_BACK_LANDSCAPE as a
  standard device, since in this camera position it is more advantageous
  to connect the 'speaker-mic' first to avoid inverted audio channels.
* For full-fledged work, you need to set "ro.audio.monitorRotation=true"
  to listen to the orientation of the device or manually send parameters
  via AudioManager.

Change-Id: Ieb217c47d48771970a800b93eefafeb20493fee4
parent b4ba737e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment