summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormarkcs <mcampbellsmith@gmail.com>2014-03-24 21:40:37 +1100
committermarkcs <mcampbellsmith@gmail.com>2014-03-24 21:41:40 +1100
commite7cbd85a310e75815567c664145a7ec9fc658c8a (patch)
tree85c9884da036a0450241faeb7b860b4a46cfecf9 /audio
parent21d8a2854e64115adb39f6d1c6a4baaaaa02c6ac (diff)
downloaddevice_samsung_i9305-e7cbd85a310e75815567c664145a7ec9fc658c8a.zip
device_samsung_i9305-e7cbd85a310e75815567c664145a7ec9fc658c8a.tar.gz
device_samsung_i9305-e7cbd85a310e75815567c664145a7ec9fc658c8a.tar.bz2
i9305: audio hal mic updates
Fix for audio mic distortion during video recordings and reset in_device to NONE at call completion Change-Id: I011a5123a87a17a3f478af93bce7df4ba0108839
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 355c8e4..be0ebe7 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -684,7 +684,7 @@ static void select_mode(struct m0_audio_device *adev)
ALOGE("%s: csd_stop_voice error %d\n", __func__, err);
}
}
-
+ adev->in_device = AUDIO_DEVICE_NONE;
force_all_standby(adev);
select_output_device(adev);
select_input_device(adev);