audio: select camcorder snd device according to camera orientation

Add audio parameter indicating use of front or back camera to select
proper input path tuning in camcorder mode.
Also take device orientation for stereo channel swaping.

Bug: 118022272

Test: verified with camera service patch sending camera facing parameter
Change-Id: If24b47d922aeedaaa144f4a5f4cacddce2c9eeaf
(cherry picked from commit 5f4ca9505df8177127c1f1a7d292d684ec30ff50)
4 files changed
tree: e1a90504185eb46a018c6d6fddcb2dd4b70f767c
  1. Android.mk
  2. hal/
  3. legacy/
  4. post_proc/
  5. visualizer/
  6. voice_processing/