diff options
author | Sergii Iegorov <x0155539@ti.com> | 2013-04-11 20:17:35 +0300 |
---|---|---|
committer | Sergii Iegorov <x0155539@ti.com> | 2013-04-11 20:17:35 +0300 |
commit | 2749124f4584fd4341d8c3302bccbdadb5679354 (patch) | |
tree | 712e33a3de920b85504c3bd30d43e522aa70cce7 | |
parent | 1892d5bbd0f61243186d7c1b623f815e5fecdf10 (diff) | |
download | common-open-2749124f4584fd4341d8c3302bccbdadb5679354.tar.gz |
Revert "Audio HAL: Using wired headset for camcoder recording on Tablet."
This reverts commit 1892d5bbd0f61243186d7c1b623f815e5fecdf10.
-rw-r--r-- | audio/audio_hw.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 47bb5b0..56c07e4 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -1751,12 +1751,10 @@ static void select_input_device(struct omap_audio_device *adev) if (!bt_on) { if ((adev->mode != AUDIO_MODE_IN_CALL) && (adev->active_input != 0)) { - if (adev->board_type == OMAP4_BLAZE) { - /* sub mic is used for camcorder or VoIP on speaker phone */ - sub_mic_on = (adev->active_input->source == AUDIO_SOURCE_CAMCORDER) || - ((adev->devices.out_devices & AUDIO_DEVICE_OUT_SPEAKER) && - (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION)); - } + /* sub mic is used for camcorder or VoIP on speaker phone */ + sub_mic_on = (adev->active_input->source == AUDIO_SOURCE_CAMCORDER) || + ((adev->devices.out_devices & AUDIO_DEVICE_OUT_SPEAKER) && + (adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION)); } if (!sub_mic_on) { headset_on = adev->devices.in_devices & AUDIO_DEVICE_IN_WIRED_HEADSET; |