audio: Implement adev_set_mic_mute

The mic mute function sets to 0 the voice uplink volume if state
parametter is true, else it sets it to default volume (0dB or 6dB).

We mute the voice uplink in the voice call mode, else
in the multimedia mode we mute all mics.

To use this AESS mute instead of the default mute made by the modem,
set to "true" the send_mic_mute_to_AudioManager resource in the
packages/apps/Phone/res/values/config.xml file.

Change-Id: I321049e02a8b96c81a7d7281666818237989905e
Signed-off-by: Cedric Poignet <c-poignet@ti.com>
audio: make audio HAL omap board generic

Change-Id: I1212162c00a148eb051ebb0e4b8deded8aa5e3fd
Signed-off-by: Francois Mazard <f-mazard@ti.com>

Conflicts:

	audio/audio_hw.c
AudioHAL: Use proper audio input source for camcoder use case.

Use wired headset for camcoder recording use case if switched
and sub mic in other case.

Change-Id: I300922dae8f06f6b33be28cdbcb2ee57398a1fb3
Signed-off-by: Sergii Iegorov <x0155539@ti.com>

Conflicts:

	audio/audio_hw.c
AudioHAL: Don't check parameters while getting buffer size.

Getting of input buffer size function looks like rather
static utility than checking of actual capabilities of
particular HAL. So, primary HAL should provide input
buffer size regardless of does it actually support
multichannel or not.

Change-Id: I9d2b4a5854fa4ab497b17d236463b617d0ac716a
Signed-off-by: Sergii Iegorov <x0155539@ti.com>

Conflicts:

	audio/audio_hw.c