summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstenkinevgeniy <stenkinevgeniy@gmail.com>2018-07-12 05:55:33 +0000
committerSimon Shields <simon@lineageos.org>2018-07-25 09:36:46 +0200
commita0d53a0fd60028b86723a81eb23a26d2b30157d3 (patch)
tree567330932b591e8b0745bf883a1ab1683d281d95
parentad169fc9afdd584bd11251d37f4834c41fa6efff (diff)
downloadandroid_hardware_samsung-a0d53a0fd60028b86723a81eb23a26d2b30157d3.tar.gz
android_hardware_samsung-a0d53a0fd60028b86723a81eb23a26d2b30157d3.tar.bz2
android_hardware_samsung-a0d53a0fd60028b86723a81eb23a26d2b30157d3.zip
Audio: fix call recording.
Change-Id: I312d2a36009ec1415dd5ccba4fbb68ae4a10e2ab
-rw-r--r--audio/audio_hw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 1e99dcb..395cb34 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -2120,11 +2120,6 @@ static int start_input_stream(struct stream_in *in)
#endif
- if (in->dev->voice.in_call) {
- ALOGV("%s: in_call, not handling PCMs", __func__);
- goto skip_pcm_handling;
- }
-
/* Open the PCM device.
* The HW is limited to support only the default pcm_profile settings.
* As such a change in aux_channels will not have an effect.
@@ -2145,7 +2140,6 @@ static int start_input_stream(struct stream_in *in)
goto error_open;
}
-skip_pcm_handling:
/* force read and proc buffer reallocation in case of frame size or
* channel count change */
in->proc_buf_frames = 0;