History log of /hardware/qcom/audio/alsa_sound/alsa_default.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9eb1a4fc659f58d196cc8e990da2a3fbf9a1c630 04-Oct-2012 SathishKumar Mani <smani@codeaurora.org> audio: add support for HDMI and speaker combo device

Bug: 7302453
Change-Id: I732656d185435f0f37437aba0b2f2dd49f65b101
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
5062ccee15e0b9fafb9c1d3edf6ebee3f1b26a96 11-Oct-2012 samin.ryu <samin.ryu@lge.com> alsa_sound: change input device for communication

Match to VOIP speaker device pair with voice call. In voice call using
speakerphone, we want to use BACK_MIC for input.

Bug: 7329372
Change-Id: I9c42719f17e2be6f0b38292dc74ac3ce54767b64
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
0f5426b31b9a15743e4621a972cccafc4087aa62 15-Oct-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: change voice-call stop sequence

When application processor is paired with an external modem, stop
command should be sent to the DSP on the modem before closing the
Slimbus channels on the application processor.

Bug: 7313016
Change-Id: Ibafeaf9a9badbf32cc955c4e8b5c81e5efdcbb0c
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
bf1c87481d62736cab8832e9085c121fbafdbb6b 26-Sep-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: Add support for multichannel hdmi

- Multichannel audio support for HDMI for AAC
format with 5.1 channels max.

Bug: 7156174
Change-Id: I42e92fa2b14d35a5882cc6d84c6651a6a4d5092a
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
b357a77dc9c72cb6e327e945421f440052233b51 26-Sep-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: Add hdmi audio sink capability discovery

- Add hdmi sink capabilities parsing utility to support
multi-channel output configuration.
- Update getParameters to calculate supported channels by
hdmi sink.
- Update alsa_default to calculate channel count to set control
option.

Bug: 7156174
Change-Id: Iabb9844c1e5a8b7aa7f168992f8beef79b7df8d2
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
87459f0857fe7fab51f45337f330bce03a53c3dc 29-Sep-2012 ty.lee <ty.lee@lge.com> alsa_sound : audio path change to BUILT_IN_MIC for camcorder Tx

bug: 7268748
Change-Id: I7fb9ed95f6be42555653e4fc000ce8ca7d19ba59
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
a8b76531e6eef695eae174fd628396a5b4c95b7f 01-Oct-2012 chahee.kim <chahee.kim@lge.com> audio: fix for mismatched UseCase Type

- useCase name is compared with static string by length of static string
- But, Some useCase names are equal to each other in front string part
- For example, a "HiFi" and a "HiFi rec" are same in part of "HiFi"
- This patch is matched getUseCaseType() function of alsa_ucm.c file

bug: 7294569
related-to-bug: 7263961
Change-Id: Ia83f705756b750798d408a307f0697f9af9ec5dc
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
6ebf0aa4df1a2484f52a894384286a084ac0a129 29-Sep-2012 Sungmin Choi <sungmin.choi@lge.com> alsa_audio: route call voice to phone when on HDMI

Currently call voice is routed to HDMI rx/tx when HDMI cable is plugging. So
call voice is muted. MO/MT call voice routes to speaker/back-mic and
communication routes to HDMI rx/back-mic when HDMI cable is plugging.

Bug: 7218296
Change-Id: I53fc4d5b77ad6502a32c4e8d06e17141e2aa4be2
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
77780382b45794eb5bc0e8589d9b7c96bb406772 22-Sep-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: Add support for flexible buffer size for recording

- In the current implementation, all the read calls to the driver
are limited to 320 bytes only. This results performance overhead
for recording at higher sampling rates.
- Added support for flexible buffer size to allow upto 4096 bytes.

Bug: 7223456
Change-Id: Ic0522d92de905b04481a0d8daa103c77552257e8
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
c669c27ef9c5663692c3dd8818bb6e7fcdc39b7a 22-Sep-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: fix for output device routing during video chat

Bug: 7163358

- Output device for MODE_IN_COMMUNICATION could be earpiece
or speaker, do not update output device in switchDevice()
if input device is BUILTIN_MIC

Change-Id: I2a97a63f4cb57ef114695d3fd917282612b7a346
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
925596f513542570d660da7902e9d2219c9cfc69 12-Sep-2012 ty.lee <ty.lee@lge.com> audio: separate device for voice call

1. avoid to change gain as below scenarioes
- after call end, immediately music start with headset
- when device is changed from headset to speaker in voice call
with touch effect sound, temporarily voice call gain is increased
until changed to speaker

2. this commit set different configuration of voice and audio.

Change-Id: I89f1c1736d1ba56cb90a5e94f673b3f0439ab089
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
639ce754c700a46d191ef114afd1fdfc44fb80a5 20-Sep-2012 SathishKumar Mani <smani@codeaurora.org> audio: Remove acdb, csd-client dependency

- Remove acdb and csd-client modules header files
dependency from HAL and UCM
- cleanup makefiles to not include acdb and csd
modules headers

Change-Id: I18712fcd50803f2d819ccfbaa0324d22d21b6293
Bug-id: 6815609
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
9efed76df6b7c75d170e8f900f875f4329587719 19-Sep-2012 SathishKumar Mani <smani@codeaurora.org> audio: enable necessary audio logs for debugging purpose

- Remove LOCAL_LOGD flag and enable audio necessary logs

Change-Id: Ia767ff8deaae4aa27252450eb94c64506cb8a495
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
5ff7a02ca497656b711919b81a783e6a10cdcc76 14-Sep-2012 SathishKumar Mani <smani@codeaurora.org> audio: Remove HAL, UCM dependency on acdb and csd client modules

b/6815609

- acdb and csd client modules are linked into HAL, UCM
at compile time.
- Remove the compile time dependency by loading the modules at
runtime.

Change-Id: Iab9684a4564e5dccd8eb6e07017959886d2f57b1
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
e42406e02e32dbb398a2fa0c452e52526b763c8d 30-Aug-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: Remove pcm stream close for flushing buffers

- Currently pcm stream is closed to flush buffers while switching
between speaker+headset combo device and headset device.
- Fix this problem by removing unnecessary pcm stream close.

Bug-id: 7051374
Change-Id: Id2faaeadd2a8e009f67e85beee42bbfe47b959f4
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
8861338c2a520669a870ee5f3e0c740e438c99bc 14-Aug-2012 SathishKumar Mani <smani@codeaurora.org> alsa_sound: add support for low latency playback and recording

b/6865729

- Add deep buffer output in config file
- Configure deep buffer output if flag
AUDIO_OUTPUT_FLAG_DEEP_BUFFER is set,
otherwise configure low latency output.
- Add support for low latency recording
- Enable low latency recording path with
system property
- For 2 buffers and 2048 bytes, reduce
PLAYBACK_LOW_LATENCY to 21.5 ms

Change-Id: I3c0d54fa473fe89df5a3924de483f16975f4000e
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
0a019914794cc27f5dacddf4e5dbc019dbe21788 11-Sep-2012 SathishKumar Mani <smani@codeaurora.org> audio: fix for log spamming from ALSA

b/6984795

- Use ALOGD instead of ALOGE for debugging logs
- Use ALOGE only for error messages

Change-Id: Ifad36acbe93d48f2bdce3e29c2b06654daf08821
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
8a9785b5e6a199a6c64ac671afc2e8036c7ec13f 11-Sep-2012 Ajay Dudani <adudani@codeaurora.org> Reduce debug logs for some normal usecases

b/6984795

Change-Id: Ic5c53a458fc1f72cbe7269e58374412200fb6ff8
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
249f87d48a57a50480e41b397cb4ca31687abb34 13-Aug-2012 ehgrace.kim <ehgrace.kim@lge.com> audio: add the headset tx

Change-Id: If15ef8362dd2800c41fb945b96488844db29e5db
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
91bf891a50aef64d975870c18658a8be3261d3d6 21-Aug-2012 Ajay Dudani <adudani@codeaurora.org> hardware/alsa_sound: Change the device disable sequence

Before tearing down codec, disable the MDM device first so that
slimbus channel is disconnected from MDM to avoid overflow on
codec slimbus interface

Change-Id: I20ef6fe97b3e72b6fe17243a55e4e20ed30df93c
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
74060dee8c9a414ad0345176e2422de18a4ff183 01-Aug-2012 ty.lee <ty.lee@lge.com> audio: add separate audio Input path feature

- Separate audio input path can be set using input source of audio parameter
1. Voice Recognition
2. Camcording
3. etc.

Change-Id: I7ab3b529a8d39af412d10d2d7ab4ce111db967bb
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
924f79851aaa4eebe593a456203d1c39d3c53d73 01-Aug-2012 ty.lee <ty.lee@lge.com> audio: add Dual MIC scenario in call feature

- Dual MIC solution(Fluence) feature in Built-in MIC used scenarioes.
1. Handset
2. 3-Pole Headphones

Change-Id: I5cb7d909785ac583ced01276b987c4ba811d8404
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
10dfa859150b9ff603e56459041c3314536b7a0d 01-Aug-2012 ty.lee <ty.lee@lge.com> audio: change output device in speaker phone call

Change-Id: Ie2c6e1f1e483fdb6caaeccf09d85dd3413945799
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
86c852bd4ef7ab3bce78f27e102ca7c00d457966 20-Jul-2012 Ajay Dudani <adudani@codeaurora.org> alsa: Wrap verbose logs around LOCAL_LOGD and keep them disabled

Change-Id: I52f432ff0d9a0af7a050eac83131556afeab0af9
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
91e9fad9dff8746a5cd9d44ee4f1313d3ad7cfdc 03-Jul-2012 ehgrace.kim <ehgrace.kim@lge.com> audio: modify the SPEAKER_RX_ACDB to support both MONO and STEREO speaker

Change-Id: I2e66f430b18ecfa3bfcdbb7c9f6d50354e2d0709
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
9746c4758b161e26eec92b1ef1ff1bf0ba0bd268 19-Jun-2012 Ajay Dudani <adudani@codeaurora.org> audio: Updates to comply with standard libhardware_legacy audio hal

Revert back to original libhardware_legacy audio hal headers from AOSP.
This makes corresponding code changes to disable features to match
audio hal implementation with standard libhardware_legacy audio hal.

Change-Id: Ibf1e50d3fffc8280ba417a26172c0f04206474e3
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
4113f34dfbaa8d82a5e1ef0265e916317161984d 11-Jun-2012 Iliyan Malchev <malchev@google.com> working msm8960 audio.primary and audio_policy HALs

These HALs build on JB and work on mako

Change-Id: I89bff4f1269d47a33d8e2a53a0b65d69aaf53240
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp
4765c439491ddda3de658e62cc4a64d10e726b34 11-Jun-2012 Iliyan Malchev <malchev@google.com> initial audio HAL implementation for mako

alsa_sound is imported from codeaurora at:

c1217338f349fe746e0933fcf9b1b288b532808d

[remote "quic"]
url = git://git-android.quicinc.com/platform/hardware/alsa_sound.git
review = review-android.quicinc.com
projectname = platform/hardware/alsa_sound
fetch = +refs/heads/*:refs/remotes/quic/*

Change-Id: Ic985cc3a1088c3957b6e2ac5537e2c36caaf7212
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/audio/alsa_sound/alsa_default.cpp