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
1 file changed