diff options
author | stenkinevgeniy <stenkinevgeniy@gmail.com> | 2018-07-12 05:55:33 +0000 |
---|---|---|
committer | Jan Altensen <info@stricted.net> | 2019-02-05 20:11:31 +0100 |
commit | 282d59245efbb4f5da25551ed99bdb4798a819f2 (patch) | |
tree | 9058c7f251d4b60296983c9d6f634c4b82f36dd7 | |
parent | efdfdba35a7437793086576017bc793be6d97992 (diff) | |
download | android_hardware_samsung-282d59245efbb4f5da25551ed99bdb4798a819f2.tar.gz android_hardware_samsung-282d59245efbb4f5da25551ed99bdb4798a819f2.tar.bz2 android_hardware_samsung-282d59245efbb4f5da25551ed99bdb4798a819f2.zip |
Audio: fix call recording.
Change-Id: I312d2a36009ec1415dd5ccba4fbb68ae4a10e2ab
-rw-r--r-- | audio/audio_hw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 9413297..3c7ea6b 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -2126,11 +2126,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. @@ -2151,7 +2146,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; |