diff options
| author | Satya Krishna Pindiproli <satyak@codeaurora.org> | 2012-04-17 19:49:04 +0530 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2012-05-31 09:46:18 -0700 |
| commit | f3bfe2910b1f6c5b86ea8f2b708c0c48217df74d (patch) | |
| tree | 47f5b8e58079900b60932bb7413519d1a29e21cd | |
| parent | b25e7804f710bb58dfb59512a43711a0512bb6b0 (diff) | |
| download | android_hardware_qcom_media-f3bfe2910b1f6c5b86ea8f2b708c0c48217df74d.tar.gz android_hardware_qcom_media-f3bfe2910b1f6c5b86ea8f2b708c0c48217df74d.tar.bz2 android_hardware_qcom_media-f3bfe2910b1f6c5b86ea8f2b708c0c48217df74d.zip | |
audio/msm8660: Fix for voice call volume change issue
- Volume does not change when a voice call is the
first use case with all the tones disabled.
- When voice call is the first use case, acdb_loader_send_voice_cal()
is called before ACDB is initialized causing ACDB to be
initialized incorrectly.
- Fixed the issue by calling initACDB() before acdb_loader_send_voice_cal()
CRs-Fixed: 356557
Change-Id: Id696bc2548cc68b6e1ac023bb12f852af08c6d7e
| -rw-r--r-- | audio/msm8660/AudioHardware.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/msm8660/AudioHardware.cpp b/audio/msm8660/AudioHardware.cpp index 291119b5..e4e84d0f 100644 --- a/audio/msm8660/AudioHardware.cpp +++ b/audio/msm8660/AudioHardware.cpp @@ -1674,6 +1674,7 @@ static status_t do_route_audio_rpc(uint32_t device, int mode, bool mic_mute) // Routing Voice if ( (new_rx_device != INVALID_DEVICE) && (new_tx_device != INVALID_DEVICE)) { + initACDB(); acdb_loader_send_voice_cal(ACDB_ID(new_rx_device),ACDB_ID(new_tx_device)); LOGD("Starting voice on Rx %d and Tx %d device", DEV_ID(new_rx_device), DEV_ID(new_tx_device)); |
