aacenc: Shut your facehole!

Change-Id: I962f6d99449868187d95b86c3a6672f098de5923
audio/msm8660: Fix for voice call mute during voip

-Voice tx is muted when call is received while voip is active.
-After voice call is received, voip moves to standby and calls
setupDeviceforVoipCall with value as false. This will mute mic
during voice call.
-Return from setupDeviceforVoipCall without moving to normal mode
if called while in call.

Change-Id: I3dcd6dacd0d8b1242019e55d9d9be6909444e49d
CRs-Fixed: 451202
alsa_sound: Allow dual-mic device to be used for VOIP calls

Change-Id: I7a4a79a1c48bd082be8d5163fa8978bca4421390
Revert "msm8660: prevent input routing during VOIP recording"

Reverting this small change fixes an issue where the mic does not work
in anything else but dialer/phone. GNow etc all crash. This small change
fixes that.

This reverts commit c3a461aabec762307d77dd18db11593e96885cd7.

Change-Id: I70ec65f7372575bd7e98b842681c37f76916c4e3

Conflicts:
	msm8660/AudioHardware.cpp
msm8660: suppress some logcat spam.
There is a lot of logcat spamming going on by this. Moved some logs down
a level to ALOGV, and some of the AudioHardware.xxxx.(standby) commented
out completely.

Adapted from 418c86bd566397c0b5d30d2e522515b3bfba321c
Revert "Revert "msm8660: prevent input routing during VOIP recording""

 * Fixed, was missing { } around the log message and return statement
   causing it to abort with no error in any mode.

This reverts commit 1f11a83a50dcd859338613f12c802175a0bcfc8f.

Change-Id: I98208884fdb514b466a321c3f1a57815aeb33205
alsa_sound: Fix to Support in-call uplink recording

Uplink recording during voice call fails as the case was not
 getting handled while opening the input stream.
 -Added support for Incall Uplink recording in openInputStream.

GTalk call doesn't work if call is started during an existing
 recording session. All subsequent calls are failing after this
 scenario
 - Move the pcm device node open to read() call instead which will
   avoid opening the pcm device node of normal recording session
   and doesn't go into the error state. This will allow GTalk call
   to work and also all the subsequent calls to work

CRs-Fixed: 517810
Change-Id: I440ac4090b9f3e3a70b8acb4a818cfbf97e8c868