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
Loading
Please register or sign in to comment